Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

vidoq December 24, 2018

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

Suggest an answer

Log in or Sign up to answer
0 votes
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 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

vidoq December 24, 2018

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 ;))

TAGS
AUG Leaders

Atlassian Community Events