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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to show values in single select list according to issue type within same project Edited

I want to use same select list field within the same project, but for each issue type i want to display different values in select list. How can i achieve this. Please suggest, any suggestion..i have script runner and behavior plugin. JIRA Server 



Vikrant Yadav


@Nic Brough _Adaptavist_ @Kristian Walker _Adaptavist_ @Ravi Sagar _Adaptavist_ 


Please suggest guys. 

1 answer

1 accepted

1 vote
Answer accepted

Hi @Vikrant Yadav 

This page has plenty of code to achieve this - on hiding select list values based on issue type.

If you still face problem then just paste code here.


Update: I tried the code shared in the link above and it worked for me in first attempt. 

Hi @Ravi Sagar _Adaptavist_  Thanks for the response.


I have used the same script mentioned in this link. 

But script is not working in my case.  Still able to see all the value, for Story issue type i hhave selected A and B only. But still showing all the values. Please suggestError.pngBehaviour Script.PNG

Hi @Vikrant Yadav 

Ok so let us troubleshoot then because exact code was working for me.

- Behaviour is applied on Issue Type Field?

- You have defined the mapping on the projects?

- What is your SRJ version?


Hi @Ravi Sagar _Adaptavist_  

I have added script on Issue Type

Project mapping defined 

Jira ver 8.7.1 > Scriptrunner ver :- 5.9.1



Vikrant yadav

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

114 views 0 2
Read article

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