Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I do a jql query to compare a value in another issue?

Cash Coyne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2023

I want to do a query in Jira Cloud where I find issues that match a custom field in a specific issue

 

It would look something like this:

UpdatedDate = PROJA-123.CustomFieldDate

 

Is there a way to do that?  I also have ScriptRunner if that would help

1 answer

1 accepted

3 votes
Answer accepted
Walter Buggenhout
Community Champion
January 12, 2023

Hi @Cash Coyne,

JQL does not do that. It is a query language that lets you retrieve a list of issues.

The scenario you describe is something that you would probably want to do if you intend to perform some actions with the issue(s) you find. And if that's what you are looking for, Automation rules give you the possibility to use smart values to refer to fields and other properties of items in Jira to make comparisons, copy or update values, etc.

You can find a ton of information in these support articles.

Hope this gets you on the right track!  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events