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.
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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