Forums

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

ScriptRunner for JIRA Cloud - Calculate Due Date

Pavel Antonenko August 15, 2017

I need to calculate Due Date as other custom date field shifted by 2 days in post-function. How it can be done in ScriptRunner for JIRA Cloud? Thanks in advance!

1 answer

0 votes
Kristian Walker _Adaptavist_
Community Champion
April 10, 2018

Hi Pavel,

Please find an example of setting the value of a calculated field when an issue is updated using a script listener in the documentation here.

You will be able to take this example and modify it to update your custom date field.

Thanks

Kristian

Kristian Walker _Adaptavist_
Community Champion
April 11, 2018

Hi Pavel,

If this answer has answered your question can you please mark it as accepted so that other users searching for a similar question can see that this has been marked as a correct answer.

Kristian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events