It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Select list options based on project

Hello everyone,


is it possible(via script) to set the available options of a custom field select list, based on the project an issue is being created in?

E.g. field selectlistA.

If we are in Project A, selectlistA should have options: 1,2,3,4.

If we are in Project B, selectListA should have options: 2,4,6,8.

Many thanks in advance

Kevin Klesz

2 answers

1 accepted

1 vote
Answer accepted

Hi @Kevin Klesz 

You don't need to do this specific use case via scripts. You can simply use custom fields contexts.

This way, you'd create a context and map it to project A, where the dropdown values are 1,2,3,4 and another context mapped to project B where the values are 2,4,6,8

You can find more info here:


Hope it helps!

Kind regards

Thank you Jorden, I didn't even know about this!

Like Jorden Van Bogaert likes this

I understand that completely! It's not Atlassian's most obvious feature ;)

That support link is only for Server and it does not have a linked article for Cloud.

Which is pretty much the story of Atlassian support in general.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you