My scenario :
I have list of epics. One of the attributes these epcis have is "version". These epics have children issues. Children issues do not have "version" updated. Only epic has.
So what i wish to do is to write a query that will first get a list of epics that contains a specific version as value, and then list me all the child issues in the results.
Example : show me all the child issues(stories,bugs etc) that are under epics which contains version ID 1.0.2
I would recommend for you using JQL Search Extensions. It's a professional paid indexing service provided by a company I've partnered with.
You can use the following query to get the list of all epic children by a specific version and more reference
issue in childrenOfEpicsInQuery("fixVersion='21.0.1'")
If you would be interested in a ready made solution, You may want to try out our plugin,
You can get all the issues under the Epic for a release version, with its complete hierarchy and their progress.
Key features of Epic Hierarchy:
Along with Epic Sum, you also get 2 other important functionalities within the same plugin, Links Hierarchy and Multiple Time in Status reports (to track your issues).
I went on an extensive search for the same thing a little while ago and I found a solution so I thought I would share it with you here.
Firstly, make a filter to pull out the epics which have that attribute, for example:
issuetype = Epic and fixVersion = 0.4.0
Save this filter, and take note of what this filter is called (it will have a number assigned to it which you can see in the URl when you are viewing this saved filter) e.g. filter=24123
Now you want to re-open a new 'search issues' window and put this into the advanced filter query (replacing the filter number with yours as well as the appropriate fix version you are searching for):
issuetype = Epic and fixVersion = 0.4.0 OR issueFunction in linkedIssuesOf("filter = 24123", "is epic of") OR issueFunction in subtasksOf("issueFunction in linkedIssuesOf('filter=24123', 'is epic of')")
What this will do is it will bring up all the epics you want to see, then it will bring up any issues linked to any of those epics directly, additionally it will bring up any subtasks of any issues which are linked to that epic directly.
Let me know how you get on or if it doesn't work and I can try and help you!
@Januka Wijesingheyes, it seems it comes from Script Runner Cloud.
Could you please confirm you are indeed using Jira Cloud but not have the Script Runner App installed?
Yes I have this:
and we are on the server version of Jira.
Sometimes my 'issueFunction' did not work but it was due to the way i was writing the query. Are you able to copy and paste the whole query including the error message? Then it might be easier to debug
according to documentation you would have to switch to the enhanced search - I cannot determine from your screenshot if you did do that.
Please have a look at this video:
If this should not succeed I'd encourage you to raise a request with Adaptavist.
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