Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

2 votes
PokeJohn Atlassian Team Oct 18, 2012

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


John Chin

Deleted user Mar 27, 2013

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.

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();

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

if (!dueDateField.val())




I dont understand javascript. Can you tell me how to change this script to show the last day of the month?



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.

Suggest an answer

Log in or Sign up to answer

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you