Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-79847

Changing workflow that impacts large number of issues, causes issues created during workflow migration in an invalid workflow state

XMLWordPrintable

    • 18
    • Severity 3 - Minor
    • 33
    • Hide

      Hi everyone,

      This is Marcel from the Jira Cloud team again. I want to let you all know that the fix has been fully rolled out. However we are still monitoring one known edge case and I will hold the ticket open while we work through that.

      Show
      Hi everyone, This is Marcel from the Jira Cloud team again. I want to let you all know that the fix has been fully rolled out. However we are still monitoring one known edge case and I will hold the ticket open while we work through that.

      Issue Summary

      Changing workflow that impacts large number of issues, causes issues created during workflow migration in an invalid workflow state. These new tickets created during the migration window still points to the old workflow. Trying to transition the issue fails with the error ‘Couldn't find the workflow’

      Steps to Reproduce

      1. Go to Project Settings -> Workflows and change the workflow for any issue type.
      2. Pre-requisite: Make sure the project has more number of tickets under that specific issue type, so that the workflow migration takes a few minutes/hours.
      3. While the workflow migration happens, open a few fresh tickets in the same issue type.

      Expected Results

      The new tickets should start using the new workflow. We should be able to transition the tickets properly. 

      Actual Results

      The new tickets still points to the old workflow. We’re unable to transition the tickets, it fails with the error ‘Couldn't find the workflow’.

      Workaround 

      1. Move the ticket to a different issue type, and then revert it back to the original issue type. This would trigger workflow changes and it will fix the problem.
      2. Make a copy of the new workflow, and re-associate it to the issue type again. This would trigger the workflow migration again, and the problematic tickets will be fixed as a part of it. However, this operation might again take some time (based on the size of your project).

            mcaroly@atlassian.com Marcel Caroly
            66a036c522da Makesh Sundar
            Votes:
            4 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: