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

This widget could not be displayed.
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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

139 views 2 0
Join discussion

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