Forums

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

Use Behaviours to Format Date Fields

Chris Solgat
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.
March 25, 2016

We currently have a project that is using several date fields and we have a corresponding Script Field for each one to display it in a MM/DD/YYYY format.  Could we accomplish this using a single Behaviour Rule?  We're not really interested in storing the format, just displaying it.  Also, the format would need to be retained if an export/email was done.  

2 answers

1 accepted

0 votes
Answer accepted
JamieA
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.
March 29, 2016

Behaviours don't do anything on the view issue screen. 

0 votes
Kristian Walker _Adaptavist_
Community Champion
March 27, 2016

Hi Chris,

You should format the date needed using Java Simple Date Format. I have an example of how this can be done in the following answer: https://answers.atlassian.com/questions/37044719.

I hope this helps.

Kristian

Suggest an answer

Log in or Sign up to answer