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
4,293,373
Community Members
 
Community Events
165
Community Groups

JQL - Which parent tasks are not having few sub-tasks?

Hi folks

We have one parent issuetype ex: Task

When created Task then automatically should create 5 subtasks with 2 deferent summaries. (We wrote scriptrunner code to auto create 5 subtasks )

all subtasks type same - subtask

1. subtask - summary abc
2. subtask - summary abc
3. subtask - summary abc
4. subtask - summary xyz
5. subtask - summary xyx

but some Tasks are not created subtasks 4 and 5 (4. subtask - summary xyz
5. subtask - summary xyx)

Need a JQL:

I want to know which parent tasks are not creating subtasks 4&5(Summary xyz)

 

Thanks,
Manmadha :)

1 answer

Hello @manmadha ,

This cannot be done natively with Jira, it requires a Custom JQL Function.

Do you have by any chance Scriptrunner ?

Kind regards.

Hello@Meliodas16 

We are using Scriptrunner.

Can I do with scriptrunner?

 

Thanks

Hello @manmadha ,

Please try : issueFunction not in parentsOf("summary !~ 'summary xyz' or summary !~ 'summary xyx'").

Kind regards.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,099 views 34 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you