It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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>

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.

@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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted yesterday in Jira

Upcoming Enterprise releases targeting Q3 2019: Jira Software 8.5 & Jira Service Desk 4.5

Since launching the Jira Software 8.0 and Jira Service Desk 4.0 platform releases in February, many of you have been asking when the next Enterprise release will be so you can take advantage of the m...

273 views 3 6
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