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

Empty Date field in the Attachment object

Open suvamsinha opened this issue 5 years ago • 0 comments
trafficstars

Hello,

I'm facing an issue with the Attachment object. I've a scenario where I want to retrieve the most recent atttachment from a given JIRA issue. I'm trying to sort the attachments of a given JIRA ticket as per the created date in descending order to achieve that. But "Attachment.getCreatedDate()" doesn't have a populated date field. There is a field "fastTime" but it's value cannot be utilized to sort the attachment list.

Can someone help me out with this issue ?

Thanks.

suvamsinha avatar Aug 21 '20 09:08 suvamsinha