Can I set a different default value for a custom field for different issue types?

I have a custom field called "Case type".  It can be set to Support, Implementation or Warranty.  Default value is Support.  Can this be changed based on Issue Type?  This value is set/changed by the user when the issue is created.  If not Issue type, is there some other setup that can control this request?

Thank you.

2 answers

Not using custom field contexts since you can only have one of those per project. Could be done with a scripted post function using ScriptRunner or similar

0 votes
Suhas Patil Community Champion Sep 13, 2017

You should be able to do this with Behaviour plugin (which comes with Script runner). Check some examples here

You cant use context since there can be only one context for a project. So with behaviour you can create different behaviours for each issue type for a project. 

Go through examples and try to build a script for your requirement. 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,796 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot