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 Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

547 views 6 9
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
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