Hi All,
I have an issue type "Initiative" which has multiple sub-task types, one of which is "blocker". What JQL would i use to identify all initiatives containing blockers?
Hi, in case someone is looking for this functionality.
You need scriptrunner to have this enhanced JQL function:
"issueFunction in subtasksOf"
The JQL would be as follows:
issueFunction in subtasksOf("issuetype = Initiative") and issuetype = "Blocker"
That will return all the subtasks type "Blocker" of all of the Initiatives.
cheers,
Ricardo
Hi @Scott Federman,
What do you mean with "Sub-task" are you using links https://confluence.atlassian.com/jiracoreserver073/linking-issues-861257339.html, or are you using real sub-task?
Adrián.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Blocker is a sub-task issue type. I have it so that the workflow automatically generates these blocker sub-tasks using the blocked by link type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If it is just a subtask then
Project = "Project name" and issuetype = Blocker
You can get the related linked issues for a particular issue only
issue in linkedIssues(ABC-1)
If you need blocked by issues then you can search as follows
issue in linkedIssues(ABC-1),"is blocked by")
If you need to query all linked issues then you need to go with Script Runner Plugin where you can query as issuefunctionof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.