Copying a workflow using the "Copy" action cause to the UUID of Connect post-function being duplicated

XMLWordPrintable

    • 4
    • Severity 3 - Minor
    • 1

      Description:

      When Copying a workflow using the "Copy" action on the Workflows page (ListWorkflows.jspa), the UUID of every Connect post-function is not regenerated, resulting in two independent post-functions sharing the same UUID.

      So, when third-party apps use Jira REST API it returns HTTP 500 if post-function ID is not globally unique.

      Steps to reproduce:

      1. Create a post-function with some app action in the workflow A
      2. Export the workflow XML and search for the field remoteWorkflowPostFunctionUUID
      3. Copy the workflow A to generate the workflow B
      4. Export the workflow XML of the workflow B and search for the field remoteWorkflowPostFunctionUUID
      5. Will be the same UUID

      We created a video reproducing this problem as you can see here: JRACLOUD-72099.mp4

      Expected results:

      • It is expected to each post-function within the workflow have different UUID

      Actual results:

      • Duplicated UUID in the new copy workflow.

      Notes

      This happens because it is not generating a new UUID when copying the workflow.

      Workaround

      • Delete the post-function and add it again.

            Assignee:
            Bartosz Robakowski
            Reporter:
            Carlos Ughini
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: