Transition Date/Time Field - Show date and time in issue browser

Peter Jahn January 13, 2014

We are using the Transition Date/Time Field to show the date of the first transition of an issue from status "Open" to "In Progress" in the issue browser. Therefore the description of the field has been modified to

<!-- @TransitionId: 4 -->
<!-- @Execution: first -->

This is documented here: https://innovalog.atlassian.net/wiki/display/JMCF/JIRA+Misc+Custom+Fields#JIRAMiscCustomFields-transitiondatefield

Everything works fine. But only the date is displayed. We are missing the full timestamp in the issue browser from this field (with hours and minutes). While e.g. the Created column shows its full timestamp in the popup this is not the case in the column "First Transition (Status Change).

Full timestamp in column "Created": Screenshot

Only date shown in column "First Transition (Status Change)": Screenshot

My question is: How we can display the full timestamp (including hours and minutes) in the "Transition Date/Time Field"? We are missing it the Excel Export too.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Peter Jahn July 2, 2015

Whe did it with a Script Field. Script Runner plugin.

image2015-7-2 15:48:17.png

Code for the script:

import com.atlassian.jira.ComponentManager
 
def componentManager = ComponentManager.getInstance()
def changeHistoryManager = componentManager.getChangeHistoryManager()
changeHistoryManager.getChangeItemsForField(issue, "status").find {it.toString == "In Progress"}?.getCreated()

Plugin:

image2015-7-2 15:50:13.png

Custom Field:

image2015-7-2 15:51:38.png

Field configuration:

image2015-7-2 15:52:44.png

Nicolas Esteves July 2, 2015

Thanks for your quick answer! Nicolas.

0 votes
Nicolas Esteves July 2, 2015

Hello,

 

I encounter the same issue! Do you have the solution?

 

Regards,

Nicolas.

TAGS
AUG Leaders

Atlassian Community Events