How to Set a Default Value to Description?

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

Just like:

"Condition: 

Procedure:

Result:"

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

2 votes
Joe 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 votes

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.

0 votes

See https://jira.atlassian.com/browse/JRA-4812 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 https://marketplace.atlassian.com/plugins/com.e7solutions.jira.plugins.tables or https://marketplace.atlassian.com/plugins/com.idalko.jira.plugins.igrid 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.

0 votes
Joe 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.

You might want to consider using scriptrunner for this. Scriptrunner allows you to create a behaviour for your use case: https://scriptrunner.adaptavist.com/4.3.1/jira/behaviours-overview.html

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

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 ...

3,129 views 13 19
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