Am running this JQL
project = ABC AND issuetype in (Parent, subtask) AND issuefunction in hasSubtasks() OR issueFunction in subtasksOf("project in ('ABC')") AND "User Picker" = user1 ORDER BY issuekey ASC.
and i get parent and subtask which has a user picker value as user1 and also it returns issues with user2 user3 and user4. how can i make this effective to pull only issues related to user1?
User picker custom filed is only on subtask screen but not in the parent, by doing that JQl i get subtask and its associating parent.
When issue is created user must be selected from that picker and depending on other options available in issue user changes. Now i want to pull parent and subtasks based on user selection from picker user1 or user 2 or user3. So yea user2 is in the picker and user 2 and user 1 will not be on same issue
Can you try with this JQL:
project = ABC AND issueFunction in parentsOf("project=ABC AND \"User Picker\" = user1") and AND "User Picker" = user1 ORDER BY issuekey ASC.
Here you will get parent issues which has subtasks with user1 "user picker" value including the subtasks.
if you want to query for only parent issues, then try:
project = ABC AND issueFunction in parentsOf("project=ABC AND \"User Picker\" = user1") ORDER BY issuekey ASC.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs