I need to do 'JOIN' with an advanced seach in JQL

I need to do 'JOIN' with an advanced seach in JQL, because I want to get a filter on the advanced search (with fields of different projects that do not match in both) showing those tasks where two different projects have the same value in the custom field 'center TAS'. What function can I use?



1 answer

This widget could not be displayed.

JQL is not SQL, and there's no "join" type functions.  JQL simply finds issues that match criteria and has nothing to say about the output.

Your query needs to use something like (project = X and cf1 = Y) or (project = Z and cf1 = Y), but I'm not 100% sure what the actual problem is here.

Hi Nic,

I need to get a filter that show fields of two projects diferents, where field 1 only is in the project 1 and field 2 only is in the project 2, the unique relation between both projects is that some issues in project 1 is linked with some issues in project 2. I know that SQL I colud doing but with JQL I don't know. Some idea?



I'm sorry, I don't understand that.  I get that you have two projects with different fields, but I'm lost from "unique relation"

As I said, JQL is for finding issues, and the query I gave should pull back the issues you seem to be interested in.  I'm not sure your "unique relation" is even stored in JIRA, so there's no way you can report on something that is not there.

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