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

Understanding scriptrunner scripted field: user picker (multiple users)

Hi,

I am trying to create a field in Jira, where one can edit a list of users, say customers that are affected by the issue. All pickable customers form a group in Jira. I wanted to use scriptrunner's User Picker (multiple users) scripted field to return only the group members prior to picking, but couldn't get this running: in the issue preview the field comes up only as a static list of the users returned by the script, with no possibility to pick further. My question: is this the expected behavior of the field and is this the wrong way to build a group limited user picker? According to the documentation this could be the case, but on the other hand one has to select a search template (multi user picker searcher), which indicates that the result of the script should still be searchable.

Jira has a group limited SINGLE user picker, but limited MULTI user picker has still suggestion status (see JRASERVER-36833). That’s why I try to find a solution using scriptrunner, which is available on the target instance.

Any help greatly appreciated.

Thanks

Christian

 

1 answer

Hello @Christian Olschinka

Scripted fields designed just for display some calculated information.

But you can try to filter options with Scriptrunner Behaviours, method .setFieldOptions()

Hello Mark,

thank you for your suggestion, in the meantime we have solved the problem using an Elements Connect Field to build a limited multi user picker.

 

Regards

Christian

Like # people like this

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 ...

65 views 0 5
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