format a misc date field

is there a way to format a misc field which gets the timestamp from a transition

I am getting the transition time for when the issue was pushed into the next state

This is, I want to record when the user pushed the button for transition 211

I achieved this with a JIRA Misc customfield defined as  Transition Date/Time Field

the formula I am using: 

<!-- @TransitionId: 211 -->

it shows its defined as Date Range Picker

it does work and it does show on the screen, but it shows: Yesterday -

when I hoover with the mouse over it on the view screen,  I get the correct date and time displayed - 

The preferred format is,  to show the date as: dd-MM-yyyy  HH:MM


is there a way to do this? 

thanks so much in advance


2 answers

This widget could not be displayed.

I also found this - https://innovalog.atlassian.net/browse/JMCF-51 but no resolution was ever published - as far as I can see.

This widget could not be displayed.

 



It isn't currently possible to specify a format for the transition date/time field. However, as a workaround, you can create a calculated date/time field to hold the value of the transition date/time field and use @@Format on it.

Could you please provide a more elaborate example? - I looked in the documentation about it and it only leads to an example how to palce some text onto the lefhand side. Thanks a lot

do you have a sample i'm quite interesting in the syntax . I'd like to calculate the difference between now() and created time of an issue but the sampel provided is very basic...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

47 views 0 1
Join discussion

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