Hi.
I've created a custom field "date&time" and I need to give it default value like "current time+45m".
Is there any way to do that?
as of now this option not available in jira, check this
https://jira.atlassian.com/browse/JRA-26709
check this for @Nic has give woraround
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've tryed this:
<!-- @@Formula:
import java.util.Calendar;
import java.util.Date;
Calendar cal = Calendar.getInstance();
cal.setTime(date);
cal.add(Calendar.MINUTE, 45);
date = cal.getTime();
return date;
-->
But it doesn't work. All view options enabled, but customfield doesn't appear.
Is there obvious mistakes?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.