Forums

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

How to automatically create subtasks triggered by multiple components?

Miriam Callahan
May 18, 2023

Hello - I would like an option to trigger the automatic creation of subtasks if there are multiple components in an Issue / Story. I see some other conditional logic to choose from on the component field, but not a count condition for more than 1..

It would be very good if each subtask could include the name of the component also as a nice to have. 

 

Anyone know if there is a way of setting this up? 

 

Thanks!

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
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 Champions.
June 27, 2018

Hello,

You can find an answer to your question here:

https://community.atlassian.com/t5/Jira-questions/How-to-create-a-project-in-JIRA-using-java-api-and-scriptrunner/qaq-p/597331

You can get the ProjectService like this:

def static projectService = ComponentAccessor.getComponent(ProjectService)

Suggest an answer

Log in or Sign up to answer