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

hi,

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 ?

Thanks

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.

https://jira.atlassian.com/browse/JRA-6851

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
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,053 views 2 7
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