How to Set a Default Value to Description?

As the title says, I want to set a default value to the description.

Just like:




If every issue type has its own description type will be better, just like Bug Requirement have different dafault value.

How to do this?

Thanks very much!

5 answers

3 votes
Joseph Pitt Community Champion Jun 03, 2015

I agree with Nic. People DO NOT update pre-filled fields. At one site the manager didn't like fields not appearing because they were empty and made us put a default of TBD in them. MANY issues were closed with TBD as the value for those fields making it impossible to capture some of the metrics we wanted.

I agree there is a balance between how much information is required and how much people will actually provide. And as I say to customers "you hire smart people, right? Well they'll find a way to get around entering the data you want, unless you explain why you need it"

1 vote

You can inject a bit of javascript to do this. 

But, don't.  Text fields should not be defaulted, because if you do it, users ignore them - I've run into systems where the description field is the default text on tens of thousands of issues.

Also, you've got a clear set of things that really should be fields in their own right.  I'd leave the description for a general description, and have those three fields separately defined.

See for the feature request for this.

Nic, I think that a template in a text field can be useful if it avoids creating many more custom fields. A sample use case is replacing a questionnaire Word doc of questions with a JIRA issue. You don't want 50 new custom fields, one for each question.

Another approach I've considered is to use or to allow people to enter structured data in a single custom field

Very true, it's well worth keeping the fields to a minimum if you can. My problem with defaulting text fields has happened everywhere I've been and default text has never been the right answer to "we need to give them some guidance". As you say, I prefer to get tables/surveys in there instead.

You might want to consider using scriptrunner for this. Scriptrunner allows you to create a behaviour for your use case:

We are using this solution only in a few projects to have some structure in the description of user stories.

0 votes
Joseph Pitt Community Champion Jun 03, 2015

The value of the additional fields is you can search and create metrics on them. Someday someone will want a list of all the issues where a field has a particular value. I've seen requests to sort or filter on nearly every piece of data being collected.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,712 views 17 21
Read article

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