Online Docs

Get Projects from source

Retrieve the list of projects from Azure DevOps or Jira. Returns all projects that are managed by the token or username/password.

1
2
3
POST api/_configs/project
--Cookie: graphNodeCookie=[ID]
--data-binary [ProjectObject]

URL Endpoint

api/_configs/project

Method

POST.

Parameters

See OData Filter syntax.

Request

Body

Body of source Azure DevOps. Go to your Azure DevOp and create a token to login.

1
2
3
4
5
{
"source": "Microsoft.Vsts",
"hostname": "https://yourdomain.visualstudio.com",
"token": "[this is your token]"
}

Body of source jira. Go to your Azure DevOp and create a token to login.

1
2
3
4
5
6
{
"source": "Jira",
"hostname": "yourdomain.atlassian.net",
"username": "youraccount@anadea",
"password": "[this is your token]"
}

Response

List of projects from source follow this schema.

1
2
3
4
5
6
{
"id": "[ProjectID]",
"name": "[ProjectName]",
"description": "[Description]",
"url": "[ProjectURL]"
}

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[
{
"id": "1db34929-5779-4a21-b986-b9846ab1f4b4",
"name": "Z Anadea Project",
"description": "Z Anadea Project",
"url": "https://anadea.visualstudio.com/_apis/projects/1db34929-5779-4a21-b986-b9846ab1f4b4"
},
{
"id": "ca306391-fd6d-410d-bbc9-b8fda338cf77",
"name": "D2C1 DevOps eTask Official Test Project",
"description": "D2C1 DevOps eTask Official Test Project",
"url": "https://anadea.visualstudio.com/_apis/projects/ca306391-fd6d-410d-bbc9-b8fda338cf77"
},
{
"id": "781fca80-7dc7-444b-88d3-dfc52a500582",
"name": "D2C2 DevOps eTask Official Test Project",
"description": "Testing D2C2 DevOps eTask Official Test Project",
"url": "https://anadea.visualstudio.com/_apis/projects/781fca80-7dc7-444b-88d3-dfc52a500582"
}
]

Comment

Was this article helpful?
Thanks For Your Feedback