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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published yesterday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

367 views 5 5
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