Forums

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

How can I add a default value for a mandatory field on issue creation?

Vanessa Johnson September 27, 2023

Hi

Hope someone can help me!

I have made the Component field a mandatory field but I want to give it a default value when creating the issue. Is there a way to do this?

Thanks

Vanessa

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
September 27, 2023

Helo @Vanessa Johnson 

The content of your questions doesn't seem to have anything to do with the title of your post.

Which question are you trying to get answered?

Vanessa Johnson September 27, 2023

Sorry I changed the title (an old entry showed by mistake). I want to understand how to give a default value for a mandatory field when creating the issue

Trudy Claspill
Community Champion
September 27, 2023

For Custom Fields a Jira Administrator can modify the custom field definition to set a default value. Refer to:

https://support.atlassian.com/jira-cloud-administration/docs/configure-a-custom-field/

 

For the Component field specifically you can't set a default value with native Jira functionality, as it is a System field.

If you are open to using a third party app, you could do that with the Adaptavist Scriptrunner Behaviours app. While that app is free, it does require that you subscribe to the primary Scriptrunner app to get required supporting functionality.

Vanessa Johnson September 27, 2023

Thanks I'll see what I can do with those options.

Vanessa Johnson September 27, 2023

I ended up creating a new custom field and will have to do some data updates to use this new custom field

Suggest an answer

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

Atlassian Community Events