Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-5143

Unable to Change status from Accepted to non-Accepted in Jira Integrated Stories

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.

      Issue Summary

      Customers want to be able to recover a Jira Integrated Story from the Accepted State (or equivalent Process Step) back to one of the non-Accepted States using the Jira Align console. 

      Currently once the Accepted Date has been set in Jira Align, users are blocked from making such a change in the Jira Align console, but can make the same change in Jira (which then causes the state in Jira Align to be changed by the connector)  

      When customers have previously asked about this, they have been advised that because the Jira API did not allow a change of the resolution state that the behaviour in Jira Align is by design. This was discussed in a previous 'bug' ticket where the solution of blocking the ability in Jira Align was implemented see https://jira.atlassian.com/browse/JIRAALIGN-3705

      Courtesy of one of our support Partners, new information has been identified that shows that, using the latest versions of Jira, it is possible for API calls to be made into Jira that do reset the resolution state of Stories. Support have confirmed this information (using Postman) and have recorded (and attached) a short video demonstrating  using the Jira API to  reset the Resolution. Note: This video was recorded in our test environment so does not show any private data. 

      The actual method used in the API that resets the resolution state of the story is a POST request that sets the transition of the story (and then the post function configured on the transition itself changes the resolution state.)

      Jira API Endpoint Used = /rest/api/2/issue/STORY-KEY/transitions
      API Data POSTed = "transition":{"id":"31"}

      Versions of Jira where API has been tested:

      • Jira Server 8.2 - test done by partner
      • Jira Cloud (live version as of 29th June 2023) - test done by Atlassian Support

      Steps to Reproduce

      1. To reproduce the block of status changes
        • set a Jira integrated story to the Done/Accepted state
        • wait for the audit log to confirm that an Accepted Date has been set
        • open the details of the story in Jira Align
        • try to use the dropdowns to change either State or Process Step - the choices in the dropdowns will be locked.
      2. To reproduce showing that transitions endpoint can be used to reset the resolution, make sure you know the transition IDs in Jira (and the story key) and then use the information in the attached video.

      Expected Results

      A reset of state or process step  out of Accepted and back to any non-accepted state should be allowed when using Jira Align 

      While this suggestion discusses stories, the behaviour for Features <–> Jira Epics should be matched.

      Actual Results

      Jira Align blocks the ability to recover an integrated story from the Accepted State (although there is an Edge condition that has been reported in https://jira.atlassian.com/browse/JIRAALIGN-5117 )

      Workaround

      Use the Jira Console to change the Status and wait for the connector to sync the change to Jira Align.

              2d32ad8bdc34 Andrew Zhang
              1b00672850a3 Colin Weaver
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: