Forums

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

How can I used the Parentsof JQL function to find sub-tasks with a custom issue type?

John Norman September 21, 2022

Hi, I am currently trying to find jira with open unassigned compliance sub-tasks.  "Compliance Task" appears to be a custom issue type.  The following JQL doesn't work.

issueFunction in parentsOf("issuetype = "Compliance Task" and assignee is empty AND statuscategory != Done and status != withdrawn")

Here is my error message:

<Error in the JQL Query: Expecting ')' or ',' but got 'Compliance'. (line 1, character 42)>

Any ideas on how I can search for jira with unassigned compliance sub-tasks?  I would like to exclude Dev Tasks, and Technical Tasks, and QA Tasks, etc.

Note: I have tried to search for sub-tasks with the summary ~ Compliance.  That works, but if the Dev Task, or QA Task (etc.) contains the work Compliance, then they get pulled into my result and that isn't helpful. 

Thanks in Advance.

1 answer

1 vote
Loay Mohammed
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!
January 17, 2024

There is inner double quotation you need to escape using back slash like this \"Compliance Task\"

Suggest an answer

Log in or Sign up to answer