Duedate default value when creating issue

Is it possible to set default value for Duedate on Create Issue Screen?

For example - Due Date would be +3 days from today.

JIRA 4.1.2

3 answers

This widget could not be displayed.

Hi adminltt,

The feature seem not available in current JIRA. I notice there is feature request raise to our Atlassian developer to wok on it. You could refer to this ticket JRA-11770. I sugges you to vote on it for popularity of issue and add yourself as watch list to keep you updated in future. Good Luck

Regards,

John Chin

I don't see JIRA-11770 as providing the solution that this person is asking about. I'm also interested in having the Due Date selector open with a default that automatically looks at the date value of "today" and automatically defaults to "add" days to that value.

My problem is that users can currently select a due date in the past and JIRA accepts it. As a workaround, having a default that is 3 days in the future would at least point them in the right direction.

This widget could not be displayed.

Agree, that ticket does not address being able to assign a default value to the system field duedate, +2 weeks or whatever your choice is.  It is now closed.  

A workaround would be to create another duedatex field as a custom field and use that field but that would involve having to go back into your system and remove the duedate and then insert your custom duedatex field in its place.  

I personally don't like workarounds especially for simple fixes.  This should be a simple implementation of a feature to set defaults to the system fields as well as custom fields.

I just installed Quick Sub-Tasks, which gives a way to create multiple sub-tasks fast. The syntax there for a due date would be, for example, "@now+2w". That is what I was expecting to see in setting the default value for a custom date picker field, but alas, only "current date" or a particular date are available.

This widget could not be displayed.

JIRA 7.5

Go to Administration/Issues/Field configurations/Configure

On DueDate fiel click Edit

Put this code in Description

<script type="text/javascript">

var today=new Date();
var dd=today.getDate();
var mm=today.getMonth()+1; //January is 0!
var yyyy=today.getFullYear();
if(dd<10){dd='0'+dd};
if(mm<10){mm='0'+mm};
today=dd+'.'+mm+'.'+yyyy;

dueDateField = AJS.$("#duedate");

if (!dueDateField.val())
{
dueDateField.val(today);
};

</script>

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

72 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you