jira-client icon indicating copy to clipboard operation
jira-client copied to clipboard

How to get 'Created' date for an issue?

Open mschuerer opened this issue 9 years ago • 1 comments

I tried to use Issue.getChangeLog() for that, but the change log for each issue is null. Any idea? Regards Maik

mschuerer avatar Jul 12 '16 12:07 mschuerer

@mschuerer I tried the following code

issue.getField("created")

The above function gave back to me the created date of the issue.

I got to this reply by accessing the /field REST end point and using the key field as a parameter of the getField method.

vivganes avatar Nov 12 '16 09:11 vivganes