Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Date format using the Date Picker field in a Service Portal Edited

Apologies up front if there is a Q&A already on this, but I'm not finding it.

Creating  A Doc Request form using the JIRA Service project and custom fields. For my "Requested date" custom field, for example, when I preview it in the Portal, it asks me for the date format as follows:

 17/May/21

What I want is:

  02/17/2021

I changed to the "MM/dd/YYYY"  date format in the "Look and Feel" (../secure/admin/LookAndFeel!default.jspa) settings, but when I go back to the Preview option, it still looks for the date format of "17/May/21".

What am I not changing correctly?

 

TIA

1 answer

0 votes
Ivan Lima Community Leader Feb 18, 2021

@Steve H_, in this case, you would need to update the advanced settings. Have a look at the Configuring date picker formats section at Changing the Due Date Input Format. This article should address that for you.

Cheers,

IL.

Thanks for the quick response; I'll take a look today.

So I made the change, but in the Portal Preview, the date format is still "17/May/21"

Ivan Lima Community Leader Feb 21, 2021

Hi @Steve H_, I tested it myself, and it worked just fine for both Atlassian Cloud and Data Center. Did you follow the configurations from the example/docs I shared above? It would be helpful if you could share a screenshot of the parameters you've set so that we can better assist you here.

Attached; first capture is the Look and Feel section from the Settings and the second is a Portal Preview shot of the Request form.

Thanks again for the help.

Ivan Lima Community Leader Feb 22, 2021

@Steve H_, this is not configured in the look and feel settings but in the JIRA user interface via options on the Advanced Settings page. 

Editing JIRA's advanced settings
To access and edit options on the 'Advanced Settings' page:

1. Choose  > System. 
2. Click the Advanced Settings button on the 'General Configuration' page.
3. Edit the value of a Key by clicking its value on the right of the page and modifying the existing value.

To update the parameters you're looking for, have a look at Changing the Due Date Input Format. You need to update the following

  • jira.date.picker.java.format property
  • jira.date.picker.javascript.format property

Cheers.

That got it--thought I had done that.


Add on question:  Is this Global for the rest of the company by changing this or is it relevant only to my project?

 

Thanks in advance.

Ivan Lima Community Leader Feb 22, 2021

This is a global configuration that affects all projects within your Jira instance. You should carefully consider making global changes to prevent undesired side-effects to your users. 😉

Will do; yeah, I am devout follower of Murphy, so instead of breaking someone else's project, I'll keep things as is.

 

Thanks again for the prompt response and help.

Like Ivan Lima likes this
Ivan Lima Community Leader Feb 22, 2021

Yeah, no problem. I'm glad it helped.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you