I need to filter the list of issues showing in my scrum board based on the epics they are linked to. For example, I have a number of epics which begin with the string 'ISS' and so only want to show the issues related to them.
So far, I worked out the following JQL which seems to get me on the right track, but I don't know enough about the language, and the documentation and examples are lacking, especially for the second example.
issueFunction in linkedIssuesOf("issuetype = Epic and resolution is empty", "is epic of")
Intuitively, I would say something like, "issuetype = epic and name contains 'ISS'", but that doesn't work. It gives me the error, "Field 'name' does not exist or you do not have permission to view it." Currently looking at the list of acceptable fields in the docs here.
issue.property[development].commit = 0
Similarly, I would like to find a list of acceptable arguments where development sits now, even just for a default issue. I'm imagining it could be something like,
issue.property['epic link'].value contains 'ISS'
If this is not at all possible, alternatively, it would be great if I could filter issues based on their labels. So, if I had a label, 'iss', then I could filter out all issues unless they have that label.
Thank you in advance!
I have solved it in two ways, both requiring a filter:
issuefunction in linkedissuesofrecursive("issuetype = epic and summary ~ ISS")
This requires the summaries of the epics to be the same as their respective names, or at least contain the unique string ISS. If this is done, all issues related to the epics with ISS in their summary will be shown, the rest being filtered out. The two ways to use this:
If you have any questions about the simple steps it takes to accomplish either of the solutions, don't hesitate to ask. The difficult part (for me) was finding the right JQL for the job, and knowing where to paste it.
It's most likely this function was turned off by your admins, because the query can end up locking down the entire server if you aren't careful (I may or may not have locked down the server of my 5k+employee company...).
@Michael Schmid, are you trying to accomplish the same thing I was?
Yes, I was also wanted to filter by a property of the linked epic. And I am on Jira Cloud. My project admin doesn’t care about tuning performance settings, they are all at their defaults (if even any are available on Jira Cloud).
But when search for linkedIssuesOf, I only find documentation with the Scriptrunner plugin, so I assume that plugin is a prerequisite for this to work.
I found another angle that could work with some additional help:
issueFunction in linkedIssuesOfRecursive("issue in (ISS-13,ISS-14,ISS-15)")
where each of those issues is actually an epic.
It then shows the tasks/bugs/etc. associated with all of the listed epics. However, this will only work if I manually enter in the issue keys for each epic, but I need it to be automatic. It seems that it would work best to key off something in the name of the epic.
Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events