[Postman] Move Pipeline with Zenhub API
Jan 02, 2024
Contents
reference- Find Repo ID With Github API
https://api.github.com/repos/:owner/:repo
{ "id": 1234,//here "node_id": "abcd", "name": "repo", "full_name": "company/repo", "private": true, "owner": { ... }, "network_count": 0, "subscribers_count": 7 }
- Find Workspace ID With Zenhub API
https://api.zenhub.com/p1/repositories/:repo_id/issues/:issue_number?access_token={{zenhubAccessToken}}
{ "plus_ones": [], "is_epic": false, "pipelines": [ { "name": "Ready to QA", "pipeline_id": "1abcd", "workspace_id": "1abcd"//here }, { "name": "In Progress", "pipeline_id": "2abcd", "workspace_id": "2abcd" } ], "pipeline": { "name": "Ready to QA", "pipeline_id": "1abcd", "workspace_id": "1abcd" } }
- Move Pipeline with Zenhub API
reference
Share article