Example: I have a issue JIRA - 100. The linked issue is JIRA - 101 and sub task issues are JIRA - 105, JIRA - 109, ETC...
How to get all these issues through query
parent = "ISSUEID" or issue in linkedIssues("ISSUEID")
the linkedIssues function finds all issues linked to the specified issue (https://confluence.atlassian.com/display/AOD/Advanced+Searching+Functions#AdvancedSearchingFunctions-linkedIssues())
Hi, Thank You. It's help full to me. I have one more question that can we write a query to get list of parent issues, i would like to get list of parent issues. if any issue doesn't have sub task that may be the parent? Please answer if it is possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can do something like this: issuetype in standardIssueTypes() That will return all issues that can be a parent (wether they have a sub task or not) If you want to search for subtashs only, you can do issuetype in subTaskIssueTypes() Here's the full documentation on issue searching: https://confluence.atlassian.com/display/JIRA/Searching+for+Issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.