Hi,
Is there a JQL that allows you to return all issues in a project for which linked issues have status = Resolved. If one of the linked issue status is not resolved, I don't want it to be returned by JQL query.
Thanks.
If you're on Server and have ScriptRunner installed, you can use this JQL or something similar. Note that this JQL returns issues which have at least ONE linked issue which has a status of Resolved - this does not check for all linked issues.
issueFunction in linkedIssuesOf("status = Resolved")
To my knowledge, this isn't possible out of the box.
Hi Alex,
I have ScriptRunner installed but am struggling with the query that returns issues where ALL linked issues are resolved. Any ideas on how to achieve this?
Thanks,
best regards,
Kevin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alex Christensen - wouldnt your query pick parent issues where the children are resolved? I dont think thats what Kevin wants. I am in the same boat. Trying to identify parents with dependencies. But want to restrict the linked issues that are displayed to ONLY those aren't resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kevin Dekan @Pradeep Nair - what about something like this query?
issueFunction in linkedIssuesOf("resolution != Unresolved") and issueFunction not in linkedIssuesOf("resolution = Unresolved")
In my testing, I was able to get a list of issues in which all linked issues were resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am very glad for your Answer..
"issueFunction in linkedIssuesOf("resolution != Unresolved") and issueFunction not in linkedIssuesOf("resolution = Unresolved") AND project = Agile_Test_Project AND issuetype = Feature"
Thanks
vashim shekh
8452012430
INDIAN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can i ask for explanation of this query:
"issueFunction in linkedIssuesOf("resolution != Unresolved") and issueFunction not in linkedIssuesOf("resolution = Unresolved")
i used it for complex project structure where i have 3 projects and still can not understand the logic.
i wanted to list all items only from my project, that are not done but its parent (from other project) is done.
let say parent is from project A and i have linked as child epic from my project B.
item from project A is DONE but my subitem in NOT. i want to collet all such unresolved items from my projet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Oddly enough, it seems that "issueFunction not in linkedIssuesOf" doesn't work anymore. I had to change it to "not issueFunction in linkedIssuesOf". Full JQL :
issueFunction in linkedIssuesOf("resolution != Unresolved") and not issueFunction in linkedIssuesOf("resolution = Unresolved")
It's minor but it can be confusing for newbies :-).
Thanks a lot for this query @Alex Christensen
Regards,
Dylan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To contribute to the thread, if the resolution contains an apostrophe you can escape it like this:
linkedIssuesOf("status = Closed and resolution = \"Won't Do\"")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.