Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,473
Community Members
 
Community Events
168
Community Groups

Scriptrunner listener - update Epic when new linked issue created or updated

I'm new to scripting and scriptrunner.

Can someone help me with scriptrunner request (or mb with other script automatizators)

I need to update Epic when:

- New issue created and linked to this epic

- When issue linked to this epic updated

After this happens, I will notify watchers and author via email (with notification assistant plugin)

1 answer

0 votes
Tarun Sapra Community Leader Dec 24, 2018

Hello @vidoq

You can create script listener, which checks if the issue created/updated has an epic or not. And if the updated issue has an Epic then update the required fields of the Epic.

Tarun Sapra Community Leader Dec 24, 2018

Please see some samples here

https://scriptrunner.adaptavist.com/latest/jira/listeners.html#_custom_listeners

Also, you can use a built-in listener (send custom email) to send notifications to required people.

 

https://scriptrunner.adaptavist.com/latest/jira/listeners.html#_built_in_listeners

Thanks, I read this article, but the problem is - I can't hve a possibility right now to sort out scriptrunner\groovy code...
If there's no code sample that I can use right away, I will come back with this in a month by my own :)

I thought it's trivia, but for me - it's not ;))

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events