Forums

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

I need a quick filter for a user that has subtasks assigned & stories they have subtasks

Natasha Cronen
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!
August 4, 2021

I need a quick filter for a user that has subtasks assigned to them AND stories they have subtasks assigned to them but are not the assignee of the parent story.

 

Background: I believe I have the correct JQL, and we have recently installed the ScriptRunner add-on, but I am still unable to use 'IssueFunction' 

 

Here is a sample of the JQL I want to use, that I think will get me what I need:
assignee = ncronen OR issuefunction in parentsOf("assignee = ncronen")

 

I am getting the error: "Field 'issuefunction' does not exist or you do not have permission to view it."

 

How do I resolve? Is this the correct JQL to provide the results I'm looking for?

2 answers

1 vote
Trudy Claspill
Community Champion
August 4, 2021

As per this post

https://community.atlassian.com/t5/Jira-Software-questions/Do-we-have-any-substitute-for-issuefunction-in-JIRA-Cloud/qaq-p/1539971

...you can use "issuefunction" only in the Enhanced Search Page. The post includes a workaround.

(credit to @Kristian Walker _Adaptavist_ )

0 votes
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
August 5, 2021

Hi @Natasha Cronen ,

Standard JQL doesn't easily allow it but the results can be quickly found using our professional indexing service. If you are still looking for a solution you can check out:

After you install the app you can simply search:

assignee = ncronen OR issue in parentsOfSubtasksInQuery("assignee = ncronen")

You may want to check out the docs as well.

I hope this helps!

Daniel

Suggest an answer

Log in or Sign up to answer