Forums

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

"Jira Misc Custom Fields" Transition Date/Time Field not showing timestamp

Bryan Karsh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 31, 2013

Hi,

I am using version 1.5.7 of Jira Misc Custom Fields Plugin.

I am running jira 5.2.6 on a mysql server.

When I set up a Transition Date/Time Field, like so:

<!-- @TransitionId: 21,31,41,121,51,61,71,81,101,111,131 -->
<!-- @Execution: last -->

The field only displays Date information in a filter -- not Date + timestamp. However, when I look at a particular ticket, the field shows up fine, showing both Date and Timestamp.

Is this a known bug? Seeing the date in the filter is nice, but our tickets see a lot of action, so the the timestamp is crucial for us.

1 answer

1 accepted

0 votes
Answer accepted
David Fischer October 31, 2013

This is actually JIRA's standard display for datetime fields in the issue navigator (see the create and modified fields). See https://innovalog.atlassian.net/browse/JMCF-51 for details.

If you really want to see date+time in the issue navigator, you must modify the JMCF plugin JAR. You need to locate it in your JIRA instance server (inside <jira-data>/plugins/installed-plugins). The file name will contain "jira-misc-custom-fields".

Open it as a ZIP file, and edit the atlassian-plugin.xml file. Locate the following line:

&lt;resource type="velocity" name="column-view"
              location="templates/plugins/fields/view/view-date.vm"/&gt;

and replace "view-date.vm" with "view-datetime.vm".

Bryan Karsh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 31, 2013

thanks -- I'll modify the plugin. Weird though -- the created and updated fields show time stamps in my nav screen. But I bestow upon you the karma. Thanks for the help!

David Fischer October 31, 2013

Actually, you can configure the format that JIRA uses in the issue navigator, so that's probably what you did. Unfortunately, I haven't yet found how to take advantage of that configuration for the transition date field (but I'm sure it's possible).

Suggest an answer

Log in or Sign up to answer