I want to use the ScriptRunner function linkedIssueOf to list all issues which have linked issues that are all resolved.
I've tried the following
issueFunction in linkedIssuesOf("resolution != Unresolved")
but it lists issues which still have unresolved linked issues as well.
This works fine, for fetching issues which have *all* the linked issues as resolved.
issueFunction in linkedIssuesOf("resolution is not empty") and !(issueFunction in linkedIssuesOf("resolution is empty"))
Perfect, many thanks for the quick reply. I hadn't considered checking against empty :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure welcome! Just in case if you want to fetch issues which have partially resolved linked issues i.e. if 2 out of 4 linked issues are resolved then you can drop of the second part of the query and use only
issueFunction in linkedIssuesOf("resolution is not empty")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, that's also useful info
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.