Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Kassie Bauer September 21, 2018

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
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2018

@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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 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.

Kassie Bauer September 24, 2018

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

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 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?

Kassie Bauer September 24, 2018

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 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.

Jason Selby
Contributor
September 15, 2020

@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?

1 vote
Kassie Bauer September 24, 2018

The queue filter is currently:

 

Approvals = myPending()

 

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

0 votes
Andy Finley January 21, 2022

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.

0 votes
Macha
Contributor
February 17, 2020

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
AUG Leaders

Atlassian Community Events