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

0 vote
Tayyab Bashir Community Champion Oct 21, 2017

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

685 views 6 13
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