How to create automatically linked Issues from an Issue

Currently we have the possibility to create "Multiple subtasks" linked to an Issue. Unfortunately the created subtasks cannot be assigned to different sprints...

So, as I would like to be able to assign them to different sprints, do we have a way to create in that case "linked Issues" ?

How to create several linked Issues in one shoot (similar to subtasks)

2 answers

You could use script post-function provided by ScriptRunner plugin. Can you use this plugin?

I have used the Script Runner in that way :

ScriptRunner workflow function - Clones an issue and links (condition & additional actions apply). Issue will be cloned to project same as parent, with issue type: Task

Clones an issue and links with

Condition set to 'CFT analysis' in cfValues['Needed Analysis']*.value

Target Issue Type = Task

Additional issue actions set to issu.summary = 'CFT analysis: ' + sourceIssue.summary

Issue Link Type = To be analyzed by

I would like to redo it for several values in the condition and according the condition change the summary of the created task for example

Clones an issue and links with

Condition set to 'Sys analysis' in cfValues['Needed Analysis']*.value

Target Issue Type = Task

Additional issue actions set to issu.summary = 'sys analysis: ' + sourceIssue.summary

Issue Link Type = To be analyzed by

 

To not have one post function per condition, how can I put everything in a single script? can you tell me?

 

Thank you in advance

 

C.Maillé

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

855 views 5 18
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot