Request is entered by a customer that has authorization to also approve the request. They select themselves as the approver from the approvers drop down.
Is there a way to automatically Approve a request where the requestor and approver are the same person moving it through the workflow to the next step?
You can place all those who have the ability to approve certain requests in a group and then set the automation to transition if they're a part of the group.
Using built-in automation of JSD
WHEN: Issue Created
IF: ISSUE MATCHES: reporter in membersOf("Supervisor-Group") AND issuetype = "Account Activation"
THEN: AUTO-APPROVE: APPROVE
TRANSITION ISSUE: Approval Transition
I think in that case you could configure a second transition within that workflow that has the condition that it is only visible to users in a certain group. So if all the customers that are authorized to approve requests are in this group, then they can directly transition that issue to the next workflow step without having to select an approver.
Hi! We've used this solution for quite some time, but all of a sudden it stopped working and i cannot see why. Can someone just confirm this is still working for you?
I also tried to set
IF reporter in (currentUser()) AND Approver in (currentUser())
But with the same result, it simply will not auto-approve.
EDIT: We have not made any changes to the group lately and have not updated Jira since it last worked
...eturns true if any content is returned for the webResponse.body.data.first s...