How to attach Parent Custom field to linked issue

I have a query to retrieve all issues and their linked issues.

project in (MyProject) OR issueFunction in linkedIssuesOf("project = MyProject")

The User Stories in MyProject have 2 Custom fields, CF1 and CF2, with the above query I get all linked issues, but I have no way to make them reflect the CF1 or CF2.

Also it's not an option to add CF1 and CF2 to the linked issues as they come from many different projects.

The problem I am trying to solve is to make the linked issues show the CF1 and CF2 fields, like a join in sql, but sql for jira is not available. Thanks.

1 answer

project in (MyProject) OR issueFunction in linkedIssuesOf("project = MyProject")

The first part of your query will inherently bring all the issues from the project.
So what are you trying to refine down? and reflect with custom fields. 

Custom fields are searchable fields, so you should be able to add them in the query like

(existing query) ... AND Cf1 is not EMPTY AND Cf2 is not EMPTY

Hi Tayyab,

I am trying to linked those linked issues back to the custom fields of the parent issue.

So Linked Issue LI-1 can show CF1 or CF2 from parent issue



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 13, 2019 in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

748 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you