Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JSWCLOUD-18867

GET /rest/agile/1.0/board/{boardId}/configuration does not return estimation when sprint is not activated for next-gen project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • Next-gen - Boards
    • None

      Issue Summary

      The end point :

      GET /rest/agile/1.0/board/{boardId}/configuration

      Does not return estimation when sprint is not activated for next-gen project.

      Said end point is a JIRA Software end point to return board configuration details.

      Steps to Reproduce

      1. Create a next-gen project.
      2. Activate the 'Estimation' feature for the next-gen project but make sure that the 'Sprint' feature is disabled.
      3. JSON response will have no estimation.
      4. Activate both Sprint and Estimation. Run the end point again.
      5. There will be estimation in the JSON response this time around.

      Expected Results

      Estimation should be returned for the board regardless of whether the sprint feature is enabled for the next-gen project.

      {"id":5,"name":"NGS board","type":"simple","self":"https://kingdom-hearts.atlassian.net/rest/agile/1.0/board/5/configuration","location":{"type":"project","key":"NGS","id":"10006","self":"https://kingdom-hearts.atlassian.net/rest/api/2/project/10006","name":"Next-Gen-Scrum"},"filter":{"id":"10002","self":"https://kingdom-hearts.atlassian.net/rest/api/2/filter/10002"},"columnConfig":{"columns":[{"name":"To Do","statuses":[{"id":"10031","self":"https://kingdom-hearts.atlassian.net/rest/api/2/status/10031"}]},{"name":"In Progress","statuses":[{"id":"10032","self":"https://kingdom-hearts.atlassian.net/rest/api/2/status/10032"}]},{"name":"Done","statuses":[{"id":"10033","self":"https://kingdom-hearts.atlassian.net/rest/api/2/status/10033"}]},{"name":"Backlog","statuses":[{"id":"10037","self":"https://kingdom-hearts.atlassian.net/rest/api/2/status/10037"}]}],"constraintType":"none"},"estimation":{"type":"field","field":{"fieldId":"customfield_10016","displayName":"Story point estimate"}},"ranking":{"rankCustomFieldId":10019}}
      

      Actual Results

      Estimation is not present in the JSON response.

      {"id":5,"name":"NGS board","type":"simple","self":"https://kingdom-hearts.atlassian.net/rest/agile/1.0/board/5/configuration","location":{"type":"project","key":"NGS","id":"10006","self":"https://kingdom-hearts.atlassian.net/rest/api/2/project/10006","name":"Next-Gen-Scrum"},"filter":{"id":"10002","self":"https://kingdom-hearts.atlassian.net/rest/api/2/filter/10002"},"columnConfig":{"columns":[{"name":"To Do","statuses":[{"id":"10031","self":"https://kingdom-hearts.atlassian.net/rest/api/2/status/10031"}]},{"name":"In Progress","statuses":[{"id":"10032","self":"https://kingdom-hearts.atlassian.net/rest/api/2/status/10032"}]},{"name":"Done","statuses":[{"id":"10033","self":"https://kingdom-hearts.atlassian.net/rest/api/2/status/10033"}]},{"name":"Backlog","statuses":[{"id":"10037","self":"https://kingdom-hearts.atlassian.net/rest/api/2/status/10037"}]}],"constraintType":"none"},"ranking":{"rankCustomFieldId":10019}}
      

      Workaround

      Make sure both sprint and estimation feature is activated for the next-gen project.

        1. image-2020-04-13-22-28-16-787.png
          image-2020-04-13-22-28-16-787.png
          123 kB
        2. image-2020-04-13-22-27-45-938.png
          image-2020-04-13-22-27-45-938.png
          125 kB
        3. image (10).png
          image (10).png
          263 kB

              Unassigned Unassigned
              vchin Vincent Chin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: