Forums

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

Where is the documentation on some of the JQL functions?

roberto_sc October 5, 2022

I'm new to JQL, trying to do a search for any Tasks that relate to any Stories.

I found the issueRelatesTo field (or is that a function?) via autocomplete in the search bar, but I can't find explanations about it anywhere on the internet.

 

These pages don't mention it:

https://support.atlassian.com/jira-service-management-cloud/docs/advanced-search-reference-jql-fields/

https://support.atlassian.com/jira-service-management-cloud/docs/advanced-search-reference-jql-functions/

 

I have figured out how it works but I'm afraid I may be missing other fields/functions that could help me. Is there an updated full reference document?

2 answers

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
October 6, 2022

I found this other post with a response from @Mark Segall  that mentions issuerelatesto

https://community.atlassian.com/t5/Jira-Service-Management/Automation-Rules-gt-Closing-Jira-Tickets-should-close-Service/qaq-p/1967397

It appears to be related to Service projects specifically.

I have not found any Jira documentation yet that mentions it.

Mark Segall
Community Champion
October 6, 2022

Hi @roberto_sc - Adding to what @Trudy Claspill shared, this is not specific to JSM.  However, for your particular use case, you'll want to execute something like this:

issueLinkType = "relatesTo" and issueType = Task

This should return all tasks that have "Relates To" links.  However, getting it to be more specific and getting it to specifically look for story links would require a marketplace app.

0 votes
Carlos Garcia Navarro
Community Champion
October 5, 2022

Suggest an answer

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

Atlassian Community Events