Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL to pull custom field value for linked issues

I am starting with a JQL query of:

Label = Cool_Label_Name

This returns my interesting issues, and I can enable the column "Links" to see the Linked issues. Great. Now I'd like to be able to also return the value for one particular custom field (call it "XYZ Item Number") for any Linked items. Right now, with the query as-is, that custom field is empty because it's not trying to pull that from the linked issue, it's pulling it from the results of "Label = Cool_Label_Name"

Hoping to be able to do this, or something very close it, without a plugin!


1 answer

Hello @Matt Fetting 

Welcome to the community.

Let me know if I correctly understand what you are trying to do.

You have, for instance, and issue ABC-123 that you want to retrieve.

Linked to ABC-123 are issues DEF-234, DEF-345, and DEF-456.

The DEF issues have a custom field "XYZ Item Number", and the values for each DEF issue respectively are "Item 1", "Item 2", and "Item 3" (for example). 

You want your output to include:

Issue; XYZ Item Number(s)

ABC-123; Item 1, Item 2, Item 3


Is that correct?

Yes, that's correct.

This is not possible with native Jira filtering and results output capabilities. The results output capabilities are designed to give you details in the issues that are selected by your filter, not details in the issues associated with the issues selected by your filter.

The results set would need to be selecting the linked issues (the DEF issues) and displaying details from those. Would it work for you to reconfigure the filter to select DEF issues instead, where those DEF issues are linked to an ABC issue that includes the Cool_Label_Name label?

I have not had the need to produce a report similar to this before, so I can't say definitively that there is a plug in that would help you produce this. A plugin I have used in the past to extend Jira filtering capabilities is Adaptavist Scriptrunner, but I never tried to use it in quite the way you are trying.

Another alternative would be to look at using the REST API and build up code that would extract the data for you.

Hi @Matt Fetting 

Yes, and...for Trudy's ideas: how often do you need this information? 

If you are doing this one-time, please consider exporting data from a more general query and then use a spreadsheet to match up, "join" the columns you need to check.

If you will need this often, other ways to go are: a marketplace addon, the REST API with custom coding, some Jira automation to dynamically build the query, or use the Jira Excel Add-in (or Google Sheets) to use a spreadsheet you can regularly use with manual joins.

Best regards,


Like Trudy Claspill likes this

Thanks @Bill Sheboy and @Trudy Claspill 

This is going to be a regular need, so based on your feedback, I'm going to open the door to ScriptRunner. I'll spin up another thread in their support forum to pursue this. Cheers.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

270 views 13 14
View question

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you