Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to specify default value for each issue type for description field on a project?

yeldar_kossynbay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 7, 2020

Hello

How to specify default value for each issue type for description field on a single project?

 

I have one project with Scrum board in it. I have issue types: Story, Task, Bug!

 

When __Analyst__ create a new ticket with type "Story" I want to give him predefined text template for full filling:

'''

Title: <describe a massive business value feature>

Description: 
Explain the business value of the feature:
As <who?>,
I want <what?>
so I can <why?>.

Done conditions:
<give a list of exact requirement>

 '''


and I have these template for each issue type. 

 

So how I can configure it?

 

UPDATE:

Before I wanted to have only one template for all issue types.
So: I have created a custom description field link with project as context and all issue types, and then linked with Field Configuration.

Now I need the different pre defined values for the field for each issue type.
So, I'm trying to created more field contexts to specify them for exact issue type. But those contexts is imposible to link with single project.  Because Jira hide project from the list.

 

Project A -> Custom field Description -> issue Story -> Value X (Template)

Project A -> Custom field Description -> issue Bug -> Value Y (Template)

Project A -> Custom field Description -> issue Task -> Value Z (Template)

 

 

2 answers

2 votes
Florian
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.
August 7, 2020

You can use different worklflows for each issue type and add a post function update field on a transition. For custom fields you might need JSU as it allows a post function called update any field. Another way is to uses Automation for Jira and trigger an automation rule on create or transition. With Automation for Jira you can use a single workflow and create if/then/else branches. Both JSU and Automation for Jira are plugins in the marketplace.

Denise_Wuethrich_beecom_products
Contributor
August 7, 2020

Hi, @yeldar_kossynbay ! @Florian is right. JSU allows a post function called update any field to be used for your use case. Checkout the documentation here for Jira Cloud: https://beecom-products.atlassian.net/wiki/spaces/JSUCLOUD/pages/27801878/Update+any+Issue+Field+Post-Function

yeldar_kossynbay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 7, 2020

@Florian  @Denise_Wuethrich_beecom_products 

 

Beecom and Jira Automatisation works when I already submited ticket to be created. I think it's a bit different. 


Before I wanted to have only one template for all issue types.
So: I have created a custom description field link with project as context and all issue types, and then linked with Field Configuration.

Now I need the different pre defined values for the field for each issue type.
So, I'm trying to created more field contexts to specify them for exact issue type. But those contexts is imposible to link with single project.  Because Jira hide project from the list.

Like Cyril S likes this
Denise_Wuethrich_beecom_products
Contributor
August 7, 2020

Hi, @yeldar_kossynbay You might actually use a precondition but we're not very sure about the specifics of your case. It would be best to check out the documentation or submit a ticket on the service desk. 

Service desk:

https://beecom-products.atlassian.net/servicedesk/customer/portal/3/user/login

Preconditions:

  https://beecom-products.atlassian.net/wiki/spaces/JSU/pages/25680508/Workflow+Preconditions 

0 votes
Jarosław Solecki _Deviniti_
Atlassian Partner
April 17, 2023

@yeldar_kossynbay  Quite a long time since you posted but maybe you still struggle with such a problem. 

There were made few changes in how Jira works which allowed us to create solutions for teams that have a need of making a create screen more flexible and usable for users. One of the annoying problems has been screens that are not designed for the user context. We made a few improvements to help with that. One of the things we introduce is the ability to set Default Values for fields. We base here on the issue screen schemes so you just have to divide them and then you will be able to create different default values for each issue type you mentioned.

Moreover, you also gain some additional abilities like set value based on condition, and conditional show/hide fields, making them required or read-only

You can benefit from all those things with Dynamic Forms for Jira. If you have any questions or would like to have a demo session just book it here.

Suggest an answer

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

Atlassian Community Events