Forums

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

How do I query all the tasks where someone forgot to add the task to a story?

Susan Korgen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2018

In our workflow, people are supposed to enter a task and link it to to its parent story using Linked Issues and "is a Task of". I have a technical question about that, not a workflow question. When two JIRA issues are defined and one "is a Task of" the other, that is correct for us. The task "is a Task of" the story. So here is my question:

What is the JIRA query to find all the tasks where people created the task already, but while doing that, forgot to enter "is a Task of" so that link is missing? How do I query for those missing link entries so I can ask people to add them in? I do not care which task or story it is. I care that any task in our project that is missing the link "is a Task of" can be found via a query so people can see what they forgot to do.

Is there a way?

2 answers

0 votes
Lime Trees
Contributor
September 26, 2018

Hi,

you can also check Link Finder add-on which has function to find all issues without any links:

issue in linkFinderForEmptyLinks("project = X")

where X is the name of your project. Of course you can use any other condition, query or filter.

More details can be found here.

Regards,

Lime Trees Support Team 

0 votes
Mohamed Adel
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.
September 25, 2018

Hi @Susan Korgen

You can do this using script runner plugin using the following search function.

issueFunction not in hasLinkType()

You can find more information @ Script JQL Functions .

Hope this would help. 

Suggest an answer

Log in or Sign up to answer