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

This widget could not be displayed.

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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted 3 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

14 views 0 0
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