duedate doesnt show

Ugur GUNGOR August 20, 2014
I wrote a post function with python using  jira scripting suite. it doesnt show duedate. what is wrong with my code

from com.atlassian.jira.issue import Issue
from java.sql import Timestamp
import java
from java.util import Calendar

cal = Calendar.getInstance();

ts=long(cal.getTimeInMillis())
issue.setDueDate(java.sql.Timestamp(ts))

1 answer

1 accepted

0 votes
Answer accepted
Nadir MEZIANI
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.
August 20, 2014

Hi,

I think that the problem is in the type of date , due date support only Date type and not date with time

https://answers.atlassian.com/questions/44314/how-to-set-full-date-for-duedate-field-on-jira

Suggest an answer

Log in or Sign up to answer