Forums

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

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
TAGS
atlassian, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events