Hi, Would like to search issues in project A that has linked issues form project B.
Chat GPT gave following
issue in linkedIssuesOf("project = ABC")
but that does not work
Hi, @Martin Vali
Welcome to Atlassian Community!
ChatGPT is slightly wrong. For Jira Cloud JQL query looks like:
issue IN linkedIssues("NTL-2")
Wow - works like charm, thanks for fast answer. I already love Jira community
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
linkedIssuesOf is a JQL function provided by the ScriptRunner for Jira Cloud or Enhanced Search for Jira Cloud apps.
To use this you would need to install these apps and use the Enhanced Search page it provides.
I hope this helps.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not something you can accurately achieve with standard JQL.
The closest solution I could find was linkedIssue IN projectsLeadByUser(accountId) where accountId is the id of the project lead of project ABC, this assumes project ABC can be identified using the project lead only. Meaning that user should only be project lean in that project.
Otherwise, I don't see how it can be done. What is your ultimate goal behind this ? Do you want to perform some action on these issues ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Martin Vali Welcome to the community!
If you have script runner plugin installed then you can use the above function.
For that, you need to click on the apps option at the top and then click on the ScriptRunner Enhanced Search option.
Then JQL should be Project = project1 AND issueFunction in linkedIssuesOf("project = ABC")
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.