Set issue due date as today in workflow post-function

Frank Stillone January 24, 2018

Hi there,

I have a process where an issue is created via Zapier integration and I would like that issue due date to default to the current date (%%CURRENT_DATETIME%%).

I am guessing that there is a few ways to do this and a post function script would be one of them.

Could you please advise,

Thanks

Frank

2 answers

0 votes
Ivan Tovbin
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.
February 22, 2018

Hi Frank,

Just in case you still wanna use a script to do it, here's how:

import java.sql.Timestamp

issue.setDueDate(new Timestamp(System.currentTimeMillis()))
0 votes
Frank Stillone January 24, 2018

This has been solved - please ignore

Suggest an answer

Log in or Sign up to answer