Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Service Desk automating Approvals

Scenario:

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.

 

Question:

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?

3 answers

2 accepted

1 vote
Answer accepted

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

 

approve.png

Thanks everyone, there was a condition on my workflow blocking moving to my approved status..i removed that and seems to be working!

0 votes
Answer accepted

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.

If the request is created and automatically moves to awaiting approval transition...where do i add this condition and trigger?

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

182 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you