Approval step not triggered when moving a ticket between issue types with the same status, allowing transitions without the required approval.

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      Approval step is not triggered when moving a ticket between issue types with the same status, allowing transitions without the required approval.

      Steps to Reproduce

      1. Have two issue types (source and destination) that share the same status (e.g., "Waiting for Approval").
      2. Set up an approval status in the destination issue type.
      3. Move a ticket from the source issue type to the destination issue type while both are in the same status.
      4. Observe that the approval step does not trigger, and users can transition the ticket without approval.

      Expected Results

      The approval process should trigger when moving a ticket from one issue type to another if the status in the destination issue type is an approval status.

      Actual Results

      The approval step does not trigger after moving the ticket, allowing users to transition the ticket without the required approval.

      Workaround

      1. Modify the workflow :
        • Add a dummy status in the workflow and create a transition from the "Waiting for Approval" status (in the destination) to the dummy status, and back to "Waiting for Approval."
        • Ensure that only users in the project role atlassian-addons-project-access can execute this transition.
      2. Set up an automation rule to trigger when the issue is updated.
        • Use the changelog.issuetype.toString smart value to detect when an issue type change occurs and enforce the correct status and transition.

      Attached a copy of automation rule:
      automation-rule-22482294-202410220704.json

            Assignee:
            Unassigned
            Reporter:
            Baleshwer Dagar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: