I have a filter that pulls action items from our RCA project that have not been completed yet. I was attempting to target issue link = "Is RCA Remediation" only but am also getting "Has RCA Remediation" type links in the filter. Thus, I don't want to capture or wish to exclude issue links of type "Has RCA Remediation. Any thoughts or assistance.
Here is my query:
issueFunction in hasLinkType("RCA Remediation") AND status not in (Done, Resolved, Abandoned, Closed) AND issue in linkedIssuesInQuery("issuetype in (Task, 'Root Cause Analysis') and statusCategory != Done ") AND issuetype not in ("Root Cause Analysis") ORDER BY due ASC, issuetype DESC, key ASC, cf[16524] ASC
@Fazila Ashraf and community sorry for late reply. So not sure what argument to use for haslinks. When I tried hasLinks("Has RCA Remediation") I get error occurred communicating with server. We are on-prem do I need scriptrunner installed as we don't have it installed.
Please try with scriptrunner installed. It is a commercial plugin.
Are you sure you do not have scriptrunner already? The query in your question has 'issueFunction in' which is provided by scriptrunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will check with my IT dept which manages the Jira environment. Will let you know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fazila Ashraf we do have it installed server side. Thus, back to original question about error I am getting when using suggested command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead of hasLinkType , use hasLinks -> https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_haslinks
That takes the inward/outward linkname (Is RCA Remediation) as parameter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.