Hi, I am trying to set a due in a post function. Based on an answer by Jamie Echlin, I used the following script in the post function: issue.dueDate = new Date(). However, this is not working for me. I appreciate any help you can provide.
Hi Peter,
Thank you for reaching out and offering to help. I used the code you provided; unfortunately it didn't work.
Tuan
Can you check your log file for error for when you use this? Maybe this will give us some more info
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this:
issue.getDueDate().time = new Date().getTime();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.