how to set default value for custom field for issue type level


i have to set diffrent default value for custom field for each of issue type in The Project.

i tried by creating context but not able to do :(

how to do it ?


1 answer

Creating different contexts seems like the right approach. What doesn't work? Did you do a reindex after adding the contexts? Are there any exceptions in the logs?

when i create second context the Projects which are used in first contex are not able to see

Ex: Project A with Bug and Defect issurtypes

customfield with options Low, Medium and High

first context created for Bug with Low as defult value

When i am tring to create second context with Medium as default value the project A not able to see in project list

Haven't noticed this before, but I did some searching and found that it's a known bug.

This was opened back in 2005 (!!!) and Atlassian say that it's the intended behavior. I'm at a loss for words here...

The only solution (workaround) I can see here is to use a plugin (JJupin, groovy runner, etc) and add a postfunction that will select the default value if none was selected on the "Create Issue" transition.

Florin, Thanks a lot!! to pont me the issue

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

636 views 1 15
Read article

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