Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-890

Ability to get value of Multi-group picker field

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    • Jira Software

      Issue Summary

      The user wants to get groupId in custome field(Multi-group picker), but can't get value.

      refer to Find the smart value for a field, a Jira issue output is below.

      customfield_100XX
      > 0
        name "GroupA"
        groupId "xxxxx-yyyy-xxxxxxxx"
        self "https://domain.atlassian.net/rest/api/3/group?groupId=xxxxx-yyyy-xxxxxxxx"

      But in automation,

      {{issue.customfield_100XX.get(0).name}}

      returns "GroupA", but

      {{issue.customfield_100XX.get(0).groupId}} 

      returns no results.

      How to reproduce

      1. create customfield Group picker(Multi-group picker) field(customfield_1000XX)
      2. add customfield_1000XX in a project
      3. admin.atlassain.com > Group > create GroupA
      4. in the project, create issue and set GroupA in customfield_1000XX
      5. create Automation
        1. schedule > set JQL (include created issue)
        2. add action > Log action > set
          {{issue.customfield_100XX.get(0).name}},{{issue.customfield_100XX.get(0).groupid}}
        3. save automation and run
      6. you can see "GroupA", but no grpupID in Automation audit log.

              Unassigned Unassigned
              38f0fdb790c2 K. Ariga
              Votes:
              22 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: