Forms Properties: Able to access the information and not the ID of choices fields responses

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • Component/s: Forms - API
    • None
    • 328

      For the Choice Fields:

      {{issue.properties."proforma.forms.i1".state.answers.AAA.choices.get(0)}}
      

      This will only return the ID associated with the choice rather than the text (response information itself).

      The reason is because of how the text of the selected choice value is stored in the Jira Forms property, making it difficult for Automation for Jira to retrieve. It is stored as:

      issue.properties."proforma.forms.i1".questions.choices
      

      You can manipulate values by the ID, as is demonstrated in this article. But the values at the moment aren’t accessible.

      It would be great if the Form choice field properties were accessible like Jira's are.

            Assignee:
            Unassigned
            Reporter:
            Bruno Altenhofen (Inactive)
            Votes:
            29 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: