Forums

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

How to create related links to epics child(only stories) automatically when stories are updated

Pallavi Deore March 11, 2024

Hello,

I have created Jira automation.

When any story updated, all stories which are of same epic. Will be linked with related link.

Automation creates duplicate link which should not happens.

For first story when its updated related links created properly.

But for second story when its updated it will create related links for those stories which already have related link with same story.

Please help, If this can be avoided.

1 answer

0 votes
Kalyan Sattaluri
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 Leaders.
March 11, 2024

Hello @Pallavi Deore 

Based on what you have stated, what you are observing is expected behavior.

If your trigger is "Issue Updated", it will create duplicate links every time a story underneath the epic is updated unless you are doing additional checks.

To stop this, you could for example, after the trigger, do a if condition and check if for the issue at hand which is updated has issueLinkType != "relates to" and if so, only then link this issue to others.

But in a bigger picture, I dont understand why do this and what use case does this solve? Given that stories already belong to an epic, they have inherent relationship and you dont need to specify another "link".

So please share your usecase and also share your current rule and see if you can implement an additional check after your triiger to stop rule from executing "linking" everytime.

 

Pallavi Deore March 12, 2024

I am struggling with applying condition in jira automation.

My top rule is when epic created under that few stories should be created and all those stories should be interlink with related link.

Can you please suggest how i can link those stories.

 

Kalyan Sattaluri
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 Leaders.
March 12, 2024

Hello @Pallavi Deore 

In your original post, you mention that your trigger is "Issue updated", in your recent comment, you mention Epic Created/Few stories created.. Can you please share a screenshot of your current rule so we can help.

Also as previously mentioned, you dont need to do this. Epic has inherent relationship with its child issues. However you think this "linking" will benefit, you could achieve the same without doing this step. I guess, Can you tell what will you gain doing this?

Pallavi Deore March 26, 2024

Hello @Kalyan Sattaluri ,

First rule:

first rule.PNG

 

Second rule:

secondrule.PNG

 

This 2 rules I created, so trigger points are changing to achieve this.

Can you please suggest how we can make stories related of same epic from first rule when stories created when epic created.

let me know if you need more information.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.15
TAGS
AUG Leaders

Atlassian Community Events