The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

copy date value customfield

orgest
April 15, 2015

Hello I am using calculated customfield to copy a date value from 

one field to another.

But it copy it in this format 2015-04-16 00:00:00.0, i need only 2015-04-16.


This is the code 


<!-- @@Formula:
String issueType = issue.get("issuetype").getName().toString();

if (issueType.equals("Money Market"))

{ return issue.get("customfield_13033"); }

--->


1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Ansar Rezaei
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 Champions.
April 18, 2015

I think You choose a Date/Time picker for your custom filed type. Use Date Picker.