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

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 votes

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
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,289 views 17 10
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