bobcarroll/jira-client

Empty Date field in the Attachment object

Opened this issue · 0 comments

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.