How to have prepopulated information in the description field

I would like to have the "description" field appear with some text to act as a template. I only want this to affect the "bug" issue type.

I have been tinkering for a bit, but I can only seem to edit custom fields, not "core" fields.


Example:
Upon selecting the bug issue type, the description field shows the following text: 
*Description*

*Steps to reproduce* etc.....


3 answers

Hi @Otto,

You can prepopulate the description field using an add-on like Power Scripts.

We've actually put together a quick 8 min video tutorial that walks through all the steps you need to take to set this up. And we've also included the sample code we used, so you can just copy and paste it to test for yourself.

Hope this helps!

Johnson

1 vote
Ignacio Pulgar Community Champion Dec 02, 2017

You need ScriptRunner's Behaviours for prepopulating the Desciption field that way:

https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html#_setting_a_default_description

Thanks, this is exactly what I was looking for!

0 vote

That's correct.  Description is for a human to describe something, and should not be defaulted.  When you do default it, you end up with metric shed-loads of identical and pointless descriptions completely wasting everyone's time, and when the users do enter data, it's not very categorisable when you search.  A far better option than this is to create set of appropriate, separated, and clear text fields - steps to reproduce, observed behaviour, desired behaviour, etc.  You can default these, but because you're now structuring your data correctly, you'll find you don't need to.

I fundamentally disagree. The example used in the tutorial of what Ignacio suggested, you can see it doesn't have to be the case. All QA work I have ever done in JIRA had prepopulated fields and they were all filled in. Always, and by all team members.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

688 views 6 13
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