The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Show date of last update on custom field

Kate McGladdery
April 8, 2024

I have used the below code to work out when the custom field (called Key Accomplishments) was last update. However, it's showing a list of numbers (i.e 1701948951000) and I'm looking for it to show the date. Does anyone know how I can convert the numbers to be a date format? I can see on the history of the issue that this should be showing 07/Dec/23 11:35 AM.

 

TIA

jira.PNG

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Cliff Stovich
April 8, 2024

I had that same issue but couldn't get Jira to spit it out in a readable form. I wound up creating a custom field "Date X Finished" and creating an automation rule to update that custom field with today's date any time the issue I was tracking had it's status changed.

0 votes
John Funk
Community Champion
April 8, 2024

Hey Kate,

Not sure on that exact code. But we do something similar to populate a custom Paragraph field with a running list of changes to the field. You could just overwrite the value instead of adding to it each time if you like. 

Screenshot.png