Purpose: Decline/Reject a Request if the Requestor is approving his/her own request.
My method: Create a rule using JIRA Automation as follows:
When: Issue transitioned
From: Manager Approval to Change Manager Review
If: Approvers is Issue Reporter AND Issue matches JQL: issuetype = change and project = ABC
Then: Transition the issue to DECLINED (by selecting the destination status)
The workflow starts with the requestor filling in some fields and they select a Manager from a single user drop down list. On create, the first status is MANAGER APPROVAL where it awaits the 1st approval. I want to decline/reject the request once the APPROVAL is given and in the event the approver and requestor are the same. The next status in the flow is CHANGE MANAGER REVIEW.
The issue I'm having is evident in the audit log:
User Condition passes.
JQL condition passes.
Transition issue fails - No Transitions to specified status could be found for issues.
I have also changed the Then statement so that it selects a specific transition (declined) that is in the workflow after the MANAGER APPROVAL and CHANGE MANAGER REVIEW statuses.
Any help would be greatly appreciated.
Hi @Paul Cudina
The message that there are “No Transitions etc.” means that Automation can’t find that route in the workflow. Check that first and add the transition you need to automate.
Regards
Tom
The transition is there.
So I instead created a new transition (in the same place as the existing transition) with a different name of course....and...voila.
Weird.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are there any conditions or validators on the original transitions you wanted to use
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.