How do I set a value for a hidden required field? (in this case its the component field)

This question is in reference to Atlassian Documentation: Configuring Fields and Screens

How do I set a value for a hidden required field?

In this case its for forms for a Service Desk portal I want the component field to be hidden and required for some forms and I want to preset its value in each form.

I get the message that a value is required for a hidden field but the 'edit field' interface doesn't allow me to set its value.

2 answers

1 accepted

1 vote
Accepted answer

I found had to set up the components first. After that 'edit field' allowed me to pick from a picklist to set the hidden value.

Glad you found it!

Go to administration - Issues - Custom Fields, look up your field and go to configure field (on the right by the cog). Then set default value.

Thanks Bart. Component is not a custom field though, its one of the standard fields.

I could use a custom field instead - I'll try it.

For component it is a bit harder indeed, i think the only way to set a default for standard fields is by scripting it in. Might be easier to create a custom field that does what you want.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,467 views 21 17
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you