Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there an Opsgenie API endpoint to manage service relationships?

Adam
Contributor
December 20, 2022

In the Opsgenie API documentation page for services (https://docs.opsgenie.com/docs/service-api), there doesn't seem to be an API endpoint to Get/Create/Delete service relationships. I'm trying to automate the creation of services and their relationship when automatically deploying new services.

When I'm using the Opsgenie website, I can see that the UI is making calls to the following URL but I haven't been able to "figure out" a similar API endpoint.

https://<sitename>.app.opsgenie.com/webapi/services/<serviceId>/relationships

Due to the number of interrelated services we have for each environment, it's really not feasible to do this manually.

 

Similarly, is there an endpoint for managing the mapped CI/CD tools (e.g. BitBucket repos) or any of the other services settings which are available within the <team> -> Services pages (e.g. responders, stakeholders)?

 

This issue and being able to automate management/deployment of "collections" of services for a new environment (e.g. dedicated AWS account) would reduce the barrier to use Opsgenie.

1 answer

1 accepted

1 vote
Answer accepted
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 21, 2022

Hi @Adam

It looks like we do already have a feature request logged for this. Unfortunately, the only current known workaround is to manage the relationships in the UI.

https://jira.atlassian.com/browse/OPSGENIE-86

Adam
Contributor
December 21, 2022

Sorry @John M , I forgot to check your public backlog.

We'll be keen on watching those:

I've added some votes

Thanks again!

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events