Forums

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

What is the best way to populate a custom field with Jira projects available?

Jayapriya_K February 20, 2019

I need a custom field populated with list of projects available in my Jira instance. I should be able to search the values of custom field and select one/many. The selected values should have a hyper-link (redirecting to the respective project backlog) on saving the custom field. 

 

I created a multi select custom field and pasted the below code in the description as mentioned in some thread here( at least to make the field multi select, leaving all other requirements). It worked.

(function($){
    new AJS.MultiSelect({
        element: $("#customfield_16711"),
        itemAttrDisplayed: "label",
        errorMessage: AJS.params.multiselectComponentsError
    });
})(AJS.$);

 

Now, I need to populate this field with list of Projects available in my Jira instance and add a hyper-link on the selections on saving the field values.

Please let me know what is the best way to do this Jira.

0 answers

Suggest an answer

Log in or Sign up to answer