How to set different default values for Description field for different issues type?

sergey.guba December 22, 2020

Hello everyone,

I'd like to set different default values for the field "Description" https://take.ms/z1gaq depends on the selected issue type
For instance,
Issues type "User story" will have 

Description:
Acceptance criteria:
Design:

Issues type "Bug" will have

Environment:
Steps to reproduce:
Expected result:
Actual result:

 

How can I do this?

3 answers

0 votes
Juan José Marchal Gómez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 22, 2020

Hell @sergey.guba

these are the type of things that you can resolve using ScriptRunner.

I've recomment you buy this software because it's the "must be" for all the automations.

Best regards.

0 votes
KAGITHALA BABU ANVESH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 22, 2020

hi @sergey.guba ,

 

If you using different workflows for Bug and Story. This may be helpful.

1. Go to workflow

2. Edit 

3. Select "create" Transition.

4. Post function

5. Update issue field

6. select "Description"

image.png

Enter your required data in "Field Value".  

 

7. ADD

8. Save Workflow

9. try to create a new Story / Bug

10. After ticket created. you will able find the required info.

0 votes
Liam Green
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 22, 2020

Hi @sergey.guba 

Are you wanting the fields 'acceptance criteria', 'design', etc. to be part of the Description or their own fields?

They can't be part of the description, but you can have them as custom fields.

This article will show you how to Create a Custom Field

This article shows you how to Add a Custom Field to a Screen

And this article will explain how to Add it to the Request Type

Once you've done that you should be good to go.

Hope that helps,

Regards, Liam

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 22, 2020

I'd strongly recommend doing it with these new fields.  If you default the description, you're going to end up with a lot of issues with just the defaults set because people don't need to bother putting in a description.

Separate fields also make searching and reporting easier.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events