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

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

2,772 views 11 18
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