Limit list depending on current user


I'm using Scriptrunner (or let others do it for me smile ) to adapt JIRA in the way we want to use it. I was wondering if it's possible to limit a certain select list, depending on the user that's logged in.

EDIT: I'm using Kepler Database Custom field in combination with Adaptavist Scriptrunner.

So, I have a Database custom field with our products and I want to limit those by the user that is logged in. Maybe I don't even have to use scriptrunner?



1 answer

Not having tried this myself I think this should be possible with Scriptrunner. A good starting point is

Good luck!

Thanks for your answer.

I did some quick tryouts, but I get errors. Maybe because the field is a database custom field, I still have to figure it out.


Your welcome I'm not familiar with database fields personally but you should update the question to detail exactly what applies to your use case. smile



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

546 views 1 18
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