get all project using rest API and load all project name in Dropdown
Here is a link to API you need, https://docs.atlassian.com/software/jira/docs/api/REST/8.3.2/#api/2/project-getAllProjects
If you are doing it inside JS file,
AJS.$.ajax({ url: "/rest/api/2/project", type: "GET", dataType: "json", success: function(data) { console.log(data); // data here is array of project. } });
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.