How to start my custom field (user picker) with a group filter?

Guillermo Antezana November 13, 2018

So, i created a custom field plugin in jira that is a user picker. And when i click in the custom field to select a user i want the user picker to start with a group filter. Because by default it starts with "Any". How can i do that?

- the custom field:

2.png

- when i do click:1.png

So far i have this in edit.vm

#customControlHeader ($action $customField.id $customField.name $fieldLayoutItem.required $displayParameters $auiparams)
#userPicker ($action $customField.id $value false $null "" $canPerformAjaxSearch $ajaxLimit)
#customControlFooter ($action $customField.id $fieldLayoutItem.fieldDescription $displayParameters $auiparams)

and in the java class i have this.

public class MyCustomField extends GenericTextCFType {...}

 

 

0 answers

Suggest an answer

Log in or Sign up to answer