Forums

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

How to clear DueDate field in ScriptRunner

nick.rozhdestvensky
Contributor
June 5, 2018

Trying to clear DueDate in post-function.

issue.dueDate.clearTime()

doesn't work.

 

Could anyone help me with advice?

 

Thanks, Nick.

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 2018

Hello,

I think it should be like this

issue.setDueDate(null);

You post function must be first in the list of post functions

nick.rozhdestvensky
Contributor
June 5, 2018

Thanks, Alexey! It works! :)

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 2018

You are welcome! :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events