Auto fill description field

Description Field:I need a template that will automatically get loaded in the description field, which will contain the following information whenever I create a JIRA issue for a certain issue type like bug

Version

Precondition

Reproduction Steps

Expected Results

Actual Results

Additional Information

Sample Testcase

 

3 answers

0 vote
Mahesh S Community Champion Jun 15, 2016

Please add this javascript into the description of the field 'description' in field configuration.

<script type="text/javascript">
var issuetype = document.getElementById("issuetype");
var description = document.getElementById("description");
if (issuetype.value = "bug") { 
description.value = "Version: \n Precondition: \n Reproduction Steps: \n Expected Results: \n Actual Results: \n Additional Information: \n Sample Testcase: \n" ; 
}
</script>
Mahesh S Community Champion Jun 16, 2016

Updated this comment.

0 vote

I'd recommend that you don't.  Every system I've seen with defaulted text like this is littered with tens of thousands of identical (and hence useless) descriptions filled with just the default.

0 vote
Mahesh S Community Champion Jun 15, 2016

@Nic Brough [Adaptavist] Very true!! People will stop giving importance for filling the description field while creating the issue. 

@Luvo Though you can use it only if you are very sure of your purpose.

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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

102 views 0 5
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