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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.