Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Limit Multi User Picker field

Cristian Rosas [Tecnofor]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2018

Hi all!

I've been struggling with this question, what do you do to limit a multi user picker field to a certain group or project role? As many of you know, you can limit single user pickers out of the box, but that's not possible with multi user pickers

I thought that Behaviour could achieve it, but I realiased that the line code I use for this works for Select list and Cascade fields, so I guess that I can't use this

Right now I'm using validators, but this is not optimal. What are your thoughts about this?

1 answer

1 accepted

2 votes
Answer accepted
Joshua Yamdogo @ Adaptavist
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2018 edited

Hi Cristian,

This is not currently possible at the moment in ScriptRunner using behaviours - please see SRJIRA-2986 for information. Note that although that ticket is closed as Won't Fix, the development team will be working on a new system of custom picker fields that will provide equivalent functionality of limiting users/groups for multi-picker fields.

Regards,

Josh

Cristian Rosas [Tecnofor]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2018

Thank you!

Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2018

.setFormValue() works just fine for multi-user pickers. What's wrong with that approach? It works well from my point of view.

Cristian Rosas [Tecnofor]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 25, 2018

.setFormValue is not what I'm asking about, I'm asking about limit the options which appear in the field and, as Joshua said, this is not currently possible with Behaviour.

I'm curious about what other jira administrators do to resolve this.

John Dorapalli April 4, 2019

@Cristian Rosas [Tecnofor] Did you find any solution to this?

Suggest an answer

Log in or Sign up to answer