I'm trying to create filter that would allow me to search all issues linked to issues with certain keywords in their summary. However, the linkedIssues() accepts only issue Keys, as far as I can tell.
My initial idea was to use "summary ~ MyKeyword", however this can't be passed into linkedIssues.
I tried to use another filter (although I'd prefer to avoid creating separate filter for every keyword), but that failed to, as I can't pass the filter to linkedIssues.
I'd very much appreciate any help or ideas. If it is possible to avoid using marketplace apps, it would be preferable, however I'm open to using for example Scriptrunner, if it is necessary
Hello @Tomasz Winecki
Welcome to the Atlassian community.
What do you want to do with the results of the filter?
Is this a filter you will want to run repeatedly, changing the keywords?
It may be possible to construct a work around in Automation Rules, but this would not be a "filter" that could be used in gadgets. You would be able to send the issue list to yourself or others via email, though.
If you must have a filter, you will have to use a third party app. What you want can't be done with native Jira JQL functionality.
Hi, thanks for the answer!
Yes, it has to be used as a filter; first, so it can be used in gadgets, secondly, because it has to be used "on the board" itself. Let me try to explain what I'm trying to achieve:
We have in every project multiple epics, relating to different "subprojects". Every subproject has roughly the same parts which needs completion, which are represented by modified task issue associated with respective epic. Summaries for those tasks are the same between epics, for example - Epic1 will have tasks Task1, Task2 and Task3, Epic2 will also have Task1, Task2 and Task3.
Then, during work, when bugs and different tasks are encountered, they are associated with selected Tasks. For example, while working on Epic1, we encounter bug related to Task1, so we link it to it.
I aim to create filters for each of the tasks, which in itself will show the task and all bugs (issues) linked to it. This alone would show task with that summary in every epic, however - when paired with native Epic filter, it will allow for easy filtering for particular types of problem.
I'm not sure if I explained it easily enough, so maybe this will help - I achieved the result I'm looking for with the use of Scriptrunner, however I wonder if it would be possible to do in native JQL filter.
Scriptrunner Enhanced Search:
issueFunction in linkedIssuesOf("summary ~ KeyWord", "is blocked by") OR summary ~ KeyWord
the "KeyWord" is replaced in each filter by the summary "name" of selected cross-Epic Task
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What you want to do is not supported natively in Jira JQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.