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

This widget could not be displayed.

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!

This widget could not be displayed.

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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

199 views 1 3
Join discussion

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