Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-21409

Global transitions show out of order on Board view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.22.2, 8.20.11
    • AgileBoard
    • None

    Description

      This is a specific sub-case from JSWSERVER-12944 involving global transitions specifically on the board view.

      Issue Summary

      After configuring a workflow, and setting the order in which the transition buttons should appear with the 'opsbar-sequence' property, board columns can show the incorrect order if Global Transitions are present.
      Note: The issue page will present the proper order of buttons regardless.

      Steps to Reproduce

      1. Create a new workflow.
      2. Configure at least one normal transition and one global transition leading to the same status.
      3. Order the Global Transition to appear before the local one(s) as per Customize how transitions appear.

      4. Publish the workflow changes.
      5. Now using a board for the same project that uses this new workflow verify if the transition names appear in the correct order when dragging the issue card to the chosen status.

      Expected Results

      The board should display the transitions in the same order as the issue view.

      Actual Results

      The same order is not followed. The actual order that's utilized is the order in which the statuses were introduced to the workflow.

      • For example: If the status 'Open' which is the source for the 'Local - Close' local transition was added after the status 'Closed' (which has the global transition 'Global - Close') to the workflow, it would cause the Global transition to appear first in the column.

      Board View:

      Issue View:

      Workaround

      This may not work on all environments. Test on a test/staging server first to see if it will work for your instance.

      Since the order that's currently utilized by Jira boards depends on the order that the statuses were added to the Workflow, to help fix the order in which they show up we can remove and then re-add the status back to the workflow to switch the order on the boards.

      Detailed steps when local transitions are associated

      1. Edit the impacted workflow.
      2. Include a temporary status.
        It will only be used to hold the transitions for the status temporarily we're re-adding so that they don't need to be re-created from scratch.
      3. If you want to have the Global transition at the bottom, we'll be working with the status that receives said transition over the next steps. If you wish to have it at the top instead, we'll be working with the status from where the local transition originates from.
        • In the above example "Closed" is the status that has the Global transition, and "Open" is the one from which the local transition originates from.
      4. Re-map the incoming and outgoing transitions from the selected status to the temporary one.
      5. Delete the selected status from the Workflow.
      6. Immediately after (before publishing any changes), add the selected status back.
      7. Re-map the transitions from the temporary status back to the selected one.
      8. Remove the temporary status.
      9. Publish the changes.
        We strongly recommend saving a copy of the old Workflow version in order to easily switch it back if necessary.

      Detailed steps for handling only global transitions

      • Edit the workflow.
      • Delete the Global transition of the state you want to move to the bottom of the list.
      • Click the status again and select "Allow all statuses to transition to this one" again.
      • You may redo these steps for any number of transitions.
      • Publish at end.

      Video demo: reordering board global transitions via workflow.mov

      Attachments

        1. Board.png
          Board.png
          22 kB
        2. Global Value.png
          Global Value.png
          19 kB
        3. Issue.png
          Issue.png
          16 kB
        4. Local Value.png
          Local Value.png
          19 kB
        5. reordering board global transitions via workflow.mov
          36.46 MB
        6. Workflow.png
          Workflow.png
          40 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abrancalhao@atlassian.com Armando Neto
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: