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

1 votes

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.

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.

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot