Improvement in JSM Forms Simplified Answers Rest API

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • Component/s: Forms - API
    • None
    • 9
    • 5

      Description:

      Currently, the JSM Forms Rest API "https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-issue/#api-issue-issueidorkey-form-formid-format-answers-get" (Simplified Answers) used for extracting Form Field Answers from work item displays the JSON output in "Random" order, as in, it does not follow the Form design.

      Example:

      Sample work item Form field order:

      Here we can see the fields are in the following order:

      1. TC Group
      2. Test Field
      3. Label
      4. TC Role

      However, when we use the Rest API to extract output of this form, it extracts the output in following order:

      Since the order is not same, it can create confusion for the end users since Form fields are normally dependent on each other and if they are displayed in a random order, end users will not be able to relate them properly.

      Expected Behaviour:

      It would be great if the Rest API is able to follow the order of the Form fields as they are setup in the Form to display the JSON output in the same way as it will be useful for the end users to use this output and share it in notification in the same format. 

        1. image-2025-04-07-20-09-47-395.png
          135 kB
          Rahul Goel
        2. image-2025-04-07-20-11-03-411.png
          150 kB
          Rahul Goel
        3. Screenshot 2025-04-07 at 20.12.38.png
          119 kB
          Rahul Goel

            Assignee:
            Unassigned
            Reporter:
            Rahul Goel
            Votes:
            13 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: