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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.