I'm using the Greenhopper Scrum board to group sprint items into swimlanes by story (using JQL queries to group them), on AOD.
I want to group all the bugs that are not linked to stories within my sprint into a Bugs swimlane so they aren't under the 'Everything Else' swimlane - there are other items in that such as tasks and improvements not currently related to stories.
Is this possible via JQL? I don't seem to be able to do a catch-all JQL query for issues that have no links - along the lines of "issuelinks is empty" or "issuelinks is null"
Being able to say "issuetype=bug and ISSUE is not linked" would be nice. Is there some way to do this on AOD at the moment?
If you have groovy script runner it has few really usefull JQL functions. hasLinks is one of them :)
Unfortunately you can pass only one link type to this function so the JQL for this would be:
issuetype = Bug and issueFunction not in hasLinkType("Blocks") and issueFunction not in hasLinkType("Cloners") and issueFunction not in hasLinkType("Relates") and issueFunction not in hasLinkType("Duplicate") and issueFunction not in hasLinkType("Epic-Story Link")
Of course if you have more link types you will have to add them to the query to make sure the issue doesn't have ANY of the link types.
I just found in the Advanced Search Documention following solution
issuetype =Bug and issuekey not in linkissues()
I haven't tried it yet, but it should work.
I tried it now and it is not working. The function linkissues() requires an issue key as parameter.
So I have to change my answer into: No, there is no way to achieve this in Ondemand.
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