Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Subquery syntax when using scripted JQL funtion subtasksof(subquery) not working

Kelley Cooper
Contributor
September 11, 2018

If I construct and run the following filter all is well:

project = ABC AND resolution not in (Withdrawn, Duplicate) AND Teamlet = "Team A"

My results do not include any items with Resolution = Withdrawn or Duplicate.

Now, if I try to use the above as the subquery in the subtasksOf JQL function the results are not 100% correct; I created this:

issueFunction in subtasksOf('project = ABC AND resolution not in (Withdrawn, Duplicate) AND Teamlet = "Team A"')

my results include some issues with Resolution = Withdrawn or Duplicate; what am I doing wrong?

1 answer

1 accepted

0 votes
Answer accepted
Mohamed Riza
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2018

Hi @Kelley Cooper

Do you mean to say that the result shows subtasks have resolutions with Withdrawn and Duplicate? If so, then you may want to change this as follows: 

issueFunction in subtasksOf('project = ABC AND resolution not in (Withdrawn, Duplicate) AND Teamlet = "Team A"') AND resolution not in (Withdrawn, Duplicate) 
Kelley Cooper
Contributor
September 17, 2018

Thank you, @Mohamed Riza!

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, product operations, product ops, linkedin live, atlassian events, cross-functional collaboration, product management, engineering collaboration, design collaboration, atlassian learning, agile teams, product strategy

Product Ops Unpacked: 4️⃣ tips every product pro needs to know ✍️

Join PM Evangelist, Axel Sooriah, & Product Ops. Consultant & Advisor, Jenny Wanger, as they unpack the role of product ops and discuss key takeaways in Atlassian’s ‘The Product Ops Mission’ guide. They’ll answer your questions live on May 6 at 9:00am PT.

Register here ⬇️
AUG Leaders

Atlassian Community Events