Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,411
Community Members
 
Community Events
165
Community Groups

How can I make an approval queue to only show tasks that still need my approval?

Currently we have an approval queue set up in our JIRA Service Desk Project that shows tasks that need my approval, but if it is waiting on someone else to approve it as well and I have already approved it, it still remains in my queue. Is there a way to make it so that the tasks in which I have already approved no longer remain in my queue?

4 answers

1 accepted

2 votes
Answer accepted

@Kassie Bauer, try a filter like below. I would suggest you try it out and tweak it in the "search issues" screen first and then make a Queue out of it.

project = abc and status = "Awaiting Approval" and Approvals = myApproval()

 

you need to modify the "abc" and the "awaiting approval" to reflect the project and status associated w/ your workflow. you can leave off the project when you create the queue actually since the project is already defined obviously. 

unsure if this gets you what you want but a good place to start.

Jack Brickey Community Leader Sep 24, 2018

@Kassie Bauer, first just a bit of housekeeping - when you reply to someone please use "Reply" button rather than "answer" to keep the thread intact.

I'm wondering if your workflow has a bypass transition to bypass approvals? If so this could explain it. Did you include the "awaiting approval" component? You could also exclude by closed status or other. Basically, your JQL needs to filter out anything that is in or past the 'approved' status. If you can provide a screenshot of your workflow I could assist more completely.

My apologies for not doing this right. Please see screenshot of the workflow. workflow.png

Jack Brickey Community Leader Sep 24, 2018

No problem! So i don't see a bypass transition so that rules out my theory above.

try this...

status = "Needs Approval" and Approvals = myPendingl()

One question I have though, for the transition from Done to Open and Verification to In Progress, do you require re-approval?

That worked! Thank you so much.

 

Yes, it would go through the approval process again if something was re-opened or the verification was rejected.

Jack Brickey Community Leader Sep 24, 2018

You are most welcome. If your question is now resolved be sure to click the checkmark above to accept solution as it helps others when they have a similar question.

@Jack Brickey  If you have more than one status status = "Needs Approval" and Approvals = myPendingl() and say Peer Review Change Manager Approval how would you add this in JQL?

The queue filter is currently:

 

Approvals = myPending()

 

But it is showing items in the queue in which I have already approved.

I have a related, but different problem.  I need to create a filter that has tickets pendingby(userA), but have already been approved by userB.  Unfortunately, I can't seem to find a single function or operator that is going to allow me to do this.  The approved() function only returns tickets which have received both approvals.  The approver() function would work if the != operator was supported--as it is now, it simply returns the same tickets that I'm filtering with pendingby().  I can't use any of the "my" functions because those are user dependent.  Pending would work if the != operator was supported.  Is there any chance that Jira will expand the list of supported operators for these functions?  Right now, limiting them only to the = operator makes these functions...non-functional for our purpose.

Hi  , we have the same issue and seems like it's a known bug since 2017. Check out JSDCLOUD-5596.

Suggest an answer

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

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

171 views 0 4
Join discussion

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