I am trying to use jql to display only stories that do not have tests as subtasks for it. I am having trouble figuring out how to get it to show subtasks in general. Any helpful links etc would be appreciated.
Suhaim, you can user Script Runner to run something like this:
issueFunction in subtasksOf("project = XX AND issuetype = Task AND status = Closed") and issuetype != test
See more advanced JQL you can use with this free plugin: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions
Did your query work?I have to do exact same thing, find stories without test sub-task in it, I used this:
issueFunction in parentsOf("project =XXX and issuetype!=Test sub-task") and issuetype = Story,
this doesnt bring back Stories without test sub-task.
Any help is appreciated
I tried yours but don't get a proper result.
project = "NOVOSAP PROD" AND component != TM AND issuetype in (Story) AND status not in ("UAT Released", Closed, Descoped, "descoped by requester") AND Sprint not in ("novosap prod sprint 99") AND issueFunction in hasLinkType(Test) ORDER BY due ASC
... results in: Could not find any issue link type with name: Test. Available link types are: Blocks, Cloners, Dependency , Duplicate, Epic-Story Link, Foundation duplicate , Issue split, Parent-Child Link, Parent/Child, Problem/Incident, Process Link, Relates, Sequence
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