Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

41 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