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

0 vote
Vasiliy Zverev Community Champion Nov 02, 2016

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

793 views 3 11
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