Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

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
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

90 views 0 1
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