ScriptRunner how to find if a Sprint's status has changed to "completed"

Hello Community,

I have run into a bit of an issue.

I have been trying to find a way in ScriptRunner to find if any Sprint has changed its status to "completed".

If they have changed then I want to send a message to people involved informing them of the sprint change.

I have not been able to find any discussions with an answer to this question.

Your expertise is extremly apprecaited!

-Roberto

1 answer

1 accepted

0 votes
Accepted answer

I think this question is fairly similar to yours:

https://community.atlassian.com/t5/Product-Apps-questions/Trigger-a-script-runner-script-on-sprint-events/qaq-p/341075

The only difference is that you don't want to transition any issues, so you wouldn't need that part of the code. You would just want to either fire an event that a listener could pick up to send an email out, or just add code to the script that would send out emails.

Hey @Joshua Yamdogo [Adaptavist],

 

The article worked wonderfully, had to troubleshoot certain functions but in the end got it to work and achieve what I wanted it to.

Thank you!

-Roberto

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,565 views 22 17
View question

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you