For the below scenario - I am trying to come up with JQL but not able to. Tried "IssueFunction" etc or referring Script Runner https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_epicsof. If anyone has any inputs for the below scenario, can you please share?
Show me all the Stories that have a Pcode “A” AND Epic Link of stories is not with Pcode “A” or with Component Value “B”
Note- Pcode and Component are Fields in both Stories and Epics
In terms of Scriptrunner, make sure you're following the instructions for Cloud not Server, as these do differ.
From what I understand above, you want to see:
If yes, something along these lines should work...
issueFunction in issuesInEpics("component = B OR Pcode != A") AND issuetype = Story AND Pcode = A
This is how it works:
You might need to change this slightly based on field name or field type (for the operators), but this should work!
I can confirm that if you are using ScriptRunner for Jira Cloud, it does support issuesInEpics() JQL function documentation page under Enhanced Search Included Functions located here. You may kindly refer to the documentation on how to configure the JQL.
I hope this helps
Calling all Confluence Cloud Admins! We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...
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