Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add default value based on a custom field in Jira Service Desk.(Server)

We want to add default value to certain custom fields based on the value of a dropdown field.
I checked with Behaviour. We can add the same in Initialisers. But the problem is it populates default values once the create screen is loaded but not based on the value of a custom field.

Kindly suggest an approach or alternative.

2 answers

Hi Rajaravikiran

If you want a Behaviour to set another field to a certain value when a given select list is changed then you need to add a Field level script on the select list inside your behaviour configuration.

i.e. you have to choose the select list field in the behaviours and attach a script to it.

You can control the value of a text field based on the value of a select list with a script like the one shown here in the Adaptavist Script library

 

Regards

Matthew

Try automation for Jira. It should do it.  

Hi Florian.
Could you please explain this a bit as to how we can set default value as well as if the user modifies the default value , the modified value should not be overriden as the automation or behaviour will run each time and that can override the modified value.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

580 views 5 21
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you