Forums

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

Default value of a custom field dependent on the task type

Matthias Kraft October 18, 2021

How can I set a default value of a custom field dependent on the task type?

 

1 answer

0 votes
Prashant Sultania
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.
October 18, 2021

Hello @Matthias Kraft 

Welcome to the Atlassian Community!!

Correct me if I wrongly understood your question. You want to add the default value in the DEPENDENT custom field in the Task issue type.

In Jira Cloud, you are not supposed to edit the locked custom field due to various reasons. The technical reason is that the custom field is associated with any plugin or in use with Jira software or anything else. 

https://support.atlassian.com/jira-cloud-administration/docs/what-are-locked-custom-fields/

Let me know in case of any further help.


Thanks,
Prashant Sultania

Note: Upvote, Like or Accept Answer if it resolves your query

Matthias Kraft October 18, 2021

Hello Prashant,

I have created a custom field of type 'select List (single choice)" with 5 options.

I want to use this custom filed for several task types (e.g. Bug, Story) with different default values.

Prashant Sultania
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.
October 21, 2021

Hello @Matthias Kraft 

Now after creating the custom field with values/options.
You will need to associate this custom field in the screens (check in your instance/environment either screens will be default for all the project or could be unique for each project) 

By following above steps custom field will be visible to all the issue types in all the jira project except for the Field configuration scheme. (you need to configure it separately) 
-----------------------------------------------------------------------------------

Now custom field with different values/options for different project. You will need to add the context (values) and link it with the project (screenshot attached with the highlighted). This step will help you use different context values for the different project.

Go through the attached screenshot below, Let me know in case of any further help.


Thanks,
Prashant Sultania

Note: Upvote, Like or Accept Answer if it resolves your query



Age 2.PNGAge 3.PNGAge 4.PNGAge.PNG

Matthias Kraft October 25, 2021

Hello @Prashant Sultania ,

I want to set the default value for my field "XXX" with the options "Value1", "Value2" and "Value3" dependet of the task type:

f.e.

Bug => "Value1"
Feature => "Value2"
Task => "Value3"

Suggest an answer

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

Atlassian Community Events