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...
Many thanks in advance
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.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG