Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to create multiple configuration schemes within the same project?

There is a custom select list field, where we would like the list of options to be different depending on the issue type, within a project.

No worries setting up a custom field configuration scheme for the first issue type.

However Jira is not letting us define a other scheme for the same project again.

So are we stuck with only having one set of options, per custom field, per project?

I'd rather not create many custom fields for this, nor have one option list with alllll of the options (which don't make sense on the wrong issue type), and we cannot use the default scheme because of its global presence.

Thanks everyone!

1 answer


This could be possible with script runner behaviour. You can write this behaviour for issue type

import com.atlassian.jira.component.ComponentAccessor
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript

def selectFieldName = "custom field name"

def issuetype = getIssueContext().getIssueType().name

def selectField = getFieldByName(selectFieldName)

// Getting select field options
def selectCustomField = customFieldManager.customFieldObjects.findByName(selectFieldName)
def selectConfig = selectCustomField.getRelevantConfig(issueContext)
def selectOptions = ComponentAccessor.optionsManager.getOptions(selectConfig)

if(issuetype.contains("story")) {

selectField.setFieldOptions(selectOptions.findAll { it.value in ['option1','option2'])

} else if(issuetype.contains("bug")) {

selectField.setFieldOptions(selectOptions.findAll { it.value in ['option3','option4'])



Thank you @Gokaraju gopi I believe that will work (and we do have ScriptRunner) and will give it a whirl on Monday.

I'm just (continually) confused / disappointed that's it's not something more natively supported in Jira, since embedding data in scripts is bad practice and not transparent.

Suggest an answer

Log in or Sign up to answer