How to cascade "blocks" on tasks generated on Epic creation?

The rule is triggered on Epic creation.

I need to create several task/subtasks lets say from A to D. All tasks need to be linked to the Epic, but my business rules needs to be:

Task A blocks Task B 

Task B blocks Task C

Task C blocks Task D

All Tasks block the Epic.

 

Already resolved all Task linked to the Epic and blocks it.

Thanks

1 answer

1 accepted

0 votes
Accepted answer
Nick Menere Community Champion Oct 08, 2017

Hi Sebastián,

 

This can be adding link to the previous issue when creating an issue. To add the link to the trigger issue you will have to do that in a step at the end of the rule. Jira doesn't allow you to add multiple links at the same time so we need to do this in 2 steps.

On the create screen, add the "Link issue" field and use the smart-value:

{{createdIssue.key}}

This links to the previously created issue.

Screen Shot 2017-10-09 at 3.33.52 pm.png

 

Then loop over all the created issues and link them to the trigger issue:

Screen Shot 2017-10-09 at 3.33.59 pm.png

Hope that is what you were after.

 

Cheers,

Nick

Thanks @Nick Menere that smart value works perfect!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,396 views 0 8
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