-
Suggestion
-
Resolution: Unresolved
-
None
-
3
-
9
-
Currently, the act of adding a DVCS account from Github Cloud, Github Enterprise, GitLab or Bitbucket Cloud to Jira requires manual intervention and is embedded in Javascript, it would be nice to create a REST API endpoint for Jira to allow automated integration.
For example:
- Taking some of the time out if you have lots of accounts to add.
- A unique REST API to trigger manual sync such as soft/full sync to an individual failed to be sync repository.
- links to
Form Name |
---|
I have used the REST API Browser Plugin to see the
rest/bitbucket/1.0/organization/{id}/credential POST API.
First you use the previous comment's API to create the org, then you use the credential API to set the creds.
We still need to manually get the key and secret from Github as I was not able find an API for that. The token should be the PAT of the GitHub account you use to authorize the integration via the Jira UI.