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

Accepted Answer
0 votes


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
Community showcase
Posted Thursday in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

1,967 views 5 6
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