I have to fetch the story and sub task for associated to the epic. I am able to fetch the Epic from the different project linked. by
issueFunction in linkedIssuesOf("project=A")
My query is return the epic. Now I want to fetch all the story and sub story which is linked with my epic. Can you guide me, what i have to modified or nested query.
I am assuming you are using ScriptRunner
issuefunction in linkedIssuesOf("Project = A", "is Epic of")
will give you all the stories for the epic in Project = A
save this as filter (say 'your filter') and re use it in a nested query
filter = 'your filter' or issuefunction in subtaskOf ("filter = 'your filter'")
I am not sure i am using the script rummer or not. I have tried but i am facing the erro.
Filter JQL : issueFunction in linkedIssuesOf("project=A") AND issuetype != "Program Epic". It will fetch all the Project which is associated with the Program.
Error : Unable to find JQL function 'subtaskOf(filter = ' Linked Issue')'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Amit Arora , my apologies, there is typo. 's' missedout. it is subtasksOf
Refer the scriptrunner jql function documentation here:
https://scriptrunner.adaptavist.com/4.3.1/jira/jql-functions.html#_linkedissuesof
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.