Forums

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

Default value on custom field for a transition screen

Umed Kumar February 13, 2018

Hi,

We have configured some new custom field and we have required every date as per issue moved from one status to other one. We have configured screen also with transactions and in custom field we have set field value as default date. But when we drag the issue from one status to other date value is coming as created date by default instead of current system date. For example we create a Epic on 8/2/2018 and when I drag it to UX design completion date as on 10/02/2018 default value of field is showing 8/2/2018 and for all status date is  coming even we have not moved the issue in subsequent status. 

JIRA Version is v6.4.8

 

Please resolve where we are doing wrong.

  

 

2 answers

0 votes
Nic Brough -Adaptavist-
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.
February 14, 2018

Field defaults only apply on create issue.  You don't want them to occur on transition or edit because people will set fields to the default when they wanted to leave them blank.

I think what you actually mean is that when you click on an empty date field in transition or edit, the picker starts at "today" because that's the most logical date to get started with.  Jira has no way of knowing what other date you might randomly want to start at.

0 votes
Alexey Matveev
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.
February 13, 2018

I do not understand what you mean by "we have set field value as default date". How did you do it? In what menu option?

I guess you need to change the field to the current date automatically in a post function for each transition. You can read more about it here:

https://community.atlassian.com/t5/Jira-questions/How-do-I-set-a-custom-field-with-the-current-date-time-in-a-post/qaq-p/143415

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events