Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Need multi project picker

Garden16_ April 28, 2022

I would like to create a custom  field that picks up multiple projects in JIRA. Out of the box JIRA offers only single Project picker. How do I pick up multiple project from my custom fields . Please advice . I am using the following code in script runner for the single project picker 

 

setFieldByName("Project picker ").convertToMultiSelect([
    ajaxOptions: [
        url           : getBaseUrl() + "https://",
        query         : true,
        formatResponse: "general"
    ]
])

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Nic Brough -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.
April 28, 2022

This cannot possibly work.

A select list holds a single item.  Converting the UI to a multi-select just makes the data the UI tries to store in the field totally incompatible with it. 

You will need to write an app that can provide your new field type.

TAGS
AUG Leaders

Atlassian Community Events