XPorter: Date.Time.Picker problem

JIRA_side is OK.

  • jira.date.time.picker.java.format dd-MM-yyyy HH:mm
  • jira.date.time.picker.javascript.format %d-%m-%Y %H:%M
  • Date_Time: 06-02-2013 08:27


  • DATE: ${Date_Time}
  • DATE: 2013-02-06 08:27:00.0

Problem --> "2013-02-06" -part. It must be "06-02-2013".
I know that some kind of javascript could help me in this case but I can't do it. I'm not expert in Java. Searching from the net gives a lot of java_Date_Time -alternatives but still..
I'm still wondering this "javascript.format" %d-%m-%Y %H:%M -part:
Xporter change the order with no specific reason so is this a bug or feature ?

1 answer

1 accepted


The Xporter for JIRA Plugin does not respects the date picker format, it just outputs the date in the Standard JIRA Format. If you want to use a custom format for the date we suggest you to use Javascript.

For the format that you want, you can use the following javascript (for the CreatedTime field):

%{var dateTime = '${CreatedTime}'.split(' '); var date = dateTime[0]; var time = dateTime[1]; var dateParts = date.split('-'); var timeParts = time.split(':'); dateParts[2] + '-' + dateParts[1] + '-' + dateParts[0] + ' ' + timeParts[0] + ':' + timeParts[1]}

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

828 views 2 9
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