Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-310

Support CRM plugin fields

    Details

    • Type: New Feature
    • Status: To Do
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.5.1
    • Fix Version/s: None
    • Component/s: None
    • Critical Points:
      0

      Description

      Hi Jamie,

      you already answered my question on atlassian answer and suggest me to request it here.

      Currently run on my system is JIRA 6.1.5 and I want to know is there any chance where/how can I write the code to get value for custom field CRM, so that I can validate other field?

      Thank you very much!

      import com.onresolve.jira.groovy.user.FieldBehaviours
      import com.onresolve.jira.groovy.user.FormField

      FormField ProjectNow = getFieldById("customfield_10130");
      FormField UseNow = getFieldById("customfield_10125");
      FormField PlaceNow = getFieldById("customfield_10132");

      if(UseNow == "Field Test") //those value comes from custom field.

      { ProjectNow = formField.setRequired(true) PlaceNow = formField.setRequired(true) ProjectNow != formField.getValue("I need here one value from CRM") }

      else

      { ProjectNow = formField.setRequired(false) PlaceNow = formField.setRequired(false) }

        Attachments

          Activity

            People

            Assignee:
            jechlin Jamie Echlin
            Reporter:
            hariz.adenan Hariz Adenan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: