Forums

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

How to get ALL Projects using RestAPI Using AJAX?

RameshLakshman August 17, 2019

get all project using rest API and load all project name in Dropdown

1 answer

1 accepted

0 votes
Answer accepted
DPKJ
Community Champion
August 17, 2019

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.
  }
});

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events