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


1 answer

0 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

686 views 1 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