Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

JQL to list problem Issues created by Incidents


I have created a transition post function for Incident Issue Type that creates a problem linked to the Incident. The problem is that I can't list the problems created by Incidents. I tried this JQL : 

project = "Project Name" AND issuetype = Problem AND issueFunction in hasLinkType("Relate to")

But it's showing all the problems that has links to other Issues. I want to list only the ones that were created by Incidents.

Do you have any idea on how to do it ?


3 answers

1 accepted

2 votes
Answer accepted

issueFunction in linkedIssuesOf('issuetype=Incident') and issuetype=Problem

1 vote
iryna_k_SaaSJet_ Marketplace Partner Jan 06, 2023

Hi @Anas Gueroihi ,

I want to advise you to try using the gadget Text to JQL. My team developed it. It converts queries from plain language to JQL queries.

Find out how this app works - Documentation.

It's free, and I hope you find it helpful.

Thank you @iryna_k_SaaSJet_  I'll give it a try.

Based on your description above, the ISSUE TYPE = Incident (not Problem). 

Is "Problem" a custom field?  If so, you will need to know the custom field ID number.  (My workaround is to pull up a Jira issue that is using "Problem", then look up to the search window to see the custom field number.) 

Then, your JQL would be:

project = "XXXXX" AND issuetype = Incident and "[Custom field ID number]" = {which ever Problem you are interested in}

Actually problem is an Issue type, I finally found out how :


issueFunction in linkedIssuesOf('issuetype=Incident') and issuetype=Problem


But thanks anyway :)

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events