Number of hours is being displayed for a scripted field instead of date

Hi Jamie,

I have tried the scriptsto display the date for a particular transition first happened to an issue.

It seems to be working fine when i have previewed it. But when i opened the  same issue, instead on showing the date, it displays the number of hours on field "Date Transition"

Could you please advice me on the above.

6-15-2015 4-16-54 PM.jpg

6-15-2015 4-20-32 PM.jpg



Kind Regards,

Swarna Radha

Team Lead Agile

Rubric Quality Consultants


2 answers

0 vote
Steven Behnke Community Champion Jun 15, 2015

I have a feeling that is just how the Date/Time fields are displayed in JIRA.

Thanks for your answer

Steven Behnke Community Champion Jun 15, 2015

No problem. It looks like it's a feature you can turn off in it's entirety by following this guide: But it is not something you control per field. A workaround could be to script a Text Field instead but that seems hacky to me.

Feel free to vote for my suggestion which contains making displaying of date time configurable (on/off per custom field configuration).

Steven Behnke Community Champion Oct 22, 2015

I've gotten a little more familiar with Script Runner, and I'm sure the original author of the question could accomplish this with Script Runner's Custom Template option, as well as the velocity format tools. But yes, I voted for your JRA issue.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Apr 19, 2018 in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

366 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you