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

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 

 

Thanks

Vikrant Yadav

 

@Nic Brough _Adaptavist_ @Kristian Walker _Adaptavist_ @Ravi Sagar 

 

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.

Ravi

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

Hi @Ravi Sagar  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

Ravi Sagar Community Leader May 03, 2020

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?

Ravi

Hi @Ravi Sagar  

I have added script on Issue Type

Project mapping defined 

Jira ver 8.7.1 > Scriptrunner ver :- 5.9.1

 

Thanks,

Vikrant yadav

Suggest an answer

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

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

394 views 3 17
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