Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get sprint end date and set it to another field scriptrunner

Mihai Mihai
Contributor
February 26, 2019

Hello,

We would like to set a value in a date field, based on the sprint end date.

So if the sprint end date is 2/26/2019, that field would get this value.

Would this be possible using scriptrunner? If so, would anyone know how to do that?

Thank you!

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Robert Giddings _Adaptavist_
Community Champion
April 13, 2021

Hi @Jonas Lindström ,

For security reasons, custom hooks can only be created by Admins. However they are customisable to run only for selected projects/repositories.

If you want to select to run for all current and future projects/repositories, except say, one repository, you can prevent the running of the custom hook for that repository by placing some conditional logic in the custom Script itself. Or within the Condition field, if it is a built-in Script.

Please let me know if that helps answer your question?

Kind regards,

Robert Giddings,

Product Manager, ScriptRunner for Bitbucket

TAGS
AUG Leaders

Atlassian Community Events