Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issues Linked to Filtered Issues

Harish Kumar August 28, 2023

Hello Team,

 

Currently i want to create a filter to list the issues linked to a project.

 

Scenario: 

Project A( Url: Jira.companyname.com)

Project B( Url: Support.companyname.com)

 

I am using the url of Project B and i want to create a filter to retrieve the issues linked to Project A(Url).

 

Request you to kindly help me with the filter on how to use. I tried to use the below but it did not work stating error that project b does not exist in the latest url.

issueFunction IN linkedIssuesOf(' project = "Project B") 

 

Please advice. Thanks

2 answers

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
August 29, 2023

Hi @Harish Kumar

In your description, you mentioned:-

Request you to kindly help me with the filter on how to use. I tried to use the below but it did not work stating error that project b does not exist in the latest url.

issueFunction IN linkedIssuesOf(' project = "Project B") 

Looking at your code, there seems to be an error, i.e. you have not closed the quotation properly.

Please update it to:-

issueFunction IN linkedIssuesOf("project = 'Project B'") 

Also, can you please confirm if you have a Project B in your instance?

I am looking forward to your feedback and clarification.

Thank you and Kind regards,

Ram

Harish Kumar August 29, 2023

@Ram Kumar Aravindakshan _Adaptavist_ : Thanks for the response. The Project B exists in different URL and is not working even when i have updated the quotation properly. 

0 votes
Robert Wen_Cprime_
Community Champion
August 28, 2023

Hello @Harish Kumar :

Based on the information you've sent, if there are different URLs for the projects, it means the projects are on different instances of Jira Server.

JQL doesn't work across instances that I know of.  It also appears that you're using a JQL function from Scriptrunner which works only on a single instance and not across instances.

Harish Kumar August 28, 2023

@Robert Wen_Cprime_ : Thanks for your detailed explanation.

 

Small doubt, however i was able to provide the different url in issue links. 

Could there be any other alternative to search the filter for with issue links ?

Suggest an answer

Log in or Sign up to answer