Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log into your Jira as Admin.

  2. Go to Administration > Custom Fields > Add Custom Field, and select SIL™ SIL User Picker custom field from the list.

  3. Follow the on-screen instructions.
    Image Removed

    image-20240213-151826.pngImage Added



  4. Go to the Configure link, and click the Edit SIL™ ScriptField data settings link to define a SIL™ script.

    Image Removed

    Write a SIL™ scriptedit the field. You will see the following screen:

    image-20240213-152048.pngImage Added


  5. Go to the Script tab and write a SIL script that return users. For example “return getAllUsers();” without quotes.
    Click Save, and the script will get associated with the current custom field. The values returned by the script are the values available for the custom field.

    Image Removed
  6. If you want to filter the returned users by Roles or Groups, go to the Filtering Strategy tab and set your filters.

    image-20240213-152404.pngImage Added
  7. You can set a default value for the field, in the General tab.


In our example, the SIL User Picker custom field is configured to filter only users that are members of the jira-servicedesk-developers users and or Jira-administrators group.

To set the number of characters that user autocomplete feature is triggered for the field use the global autocomplete threshold parameter from the User Group Picker PRO configuration page. The default value for the autocomplete threshold is set to 2.

...

For example, if you select "3" for the autocomplete threshold on the configuration page as shown in the example above, the list of suggested users matching the criteria in the user group picker will be shown after the third character in the input is entered.

...

Note

Note that this is a global configuration parameter, that will be applied for all user picker custom fields.

jira-administrators groups.

How to use it

  1. Go to an issue and check the users available for selection by clicking the user picker icon or by typing something in the input.
    Only users retrieved from the SIL™ script will be available for selection (in this case administrators and developers).



  2. Select the necessary user and save it on the current issue. The field value appears on the right side of the view issue screen, in the People section:

...