JQL to show issues with possible transitions for current user

Dear all,

I am looking for a way to filter the issues for "has a transition possible for current user".

The reason behind this is: JIRA does not implement "group assignments", however for certain steps of our workflow, an action (typically an approval) from "a person with a certain project role" is required (with more than one person in this role). Therefore our workflow transfers an issue to "Unassigned" for such a step and sends out an email to that project role (long live Script Runner!), while restricting the outgoing transitions to that project role, too.

However, the internal customers approach me with the question: "how can I see a list of issues requiring my action?".

This cannot go by "show issues assigned to me" since especially for the approvers, the issues are not technically assigned to them - therefore my idea of querying for issues with a possible (allowed for current user) outgoing transition...

Any suggestions?

Many thanks in advance

Best regards

Dmitri

1 answer

0 votes

There's no way to do this - JQL is for searching issue data, not issue configuration (and the workflow is issue configuration). Even if it did allow searches for configuration, there's another layer in that you'd then have to read all the user data as well.

I don't think you're going to get this easily, although I'd be tempted to try a script-runner "scripted field" to see if you can extract a list of users who could do X to an issue - that would allow you to search.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,003 views 12 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot