It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

link creation as trigger to set custom field value Edited

Hi, 

 

I'm looking way to get trigger for script if certain type of link is added to Jira issue. 

Functionality which I try to create is flag issue and issues below marked with blocked by link. 

Meaning eg. in case of epic gets linked with blocked by to issue which is unresolved the epic and tasks under epic would be marked with flag in custom field. 

We have Scriptrunner for Jira in to use and would assume there is some way to do functionality.

 

1 answer

Hello @Renni Verho 

You can achieve this using Automation for Jira

https://marketplace.atlassian.com/apps/1215460/automation-for-jira?hosting=cloud&tab=overview

Trigger -> issue linked 

Edit issue: Re-fetch issue data

And -> Related issues condition -> epic -> exist

Branch rule -> for the linked issue -> type blocks

Add new component IF under branch rule -> Issue type equals - >epic

Then -> edit issue -> edit the desired field

Note: 

Tested and working

If used for multiple projects add as a global rule and then restrict to desired projects or leave for all projects.

automation jira.PNG

Thanks. 

I were sure that must be possible and this is proof for that. 

Unfortunately we do not have - at least now - Automation for Jira plugin, so cannot test that. 

Olga_Videc Community Leader Jan 22, 2020

Hello @Renni Verho

My advice is to try the trial version, you can renew your test license tree times so you basically have three months to test it.

See what else could you do with it.

BR, Olga

Like Renni Verho likes this
Olga_Videc Community Leader Jan 22, 2020

I edited my answer a bit, tested it my self, added few more notes

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

587 views 6 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you