sandesvitor opened a new issue, #6055: URL: https://github.com/apache/incubator-devlake/issues/6055
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement. ### Use case Within our development team, we have implemented an abstraction layer atop Devlake for seamless integration with our applications and incident management. As part of our operational strategy, we have chosen Opsgenie as our primary alerting and incident response tool (for now we are using PagerDuty, but it will be discontinued in the coming months.). Consequently, we recognize the necessity of establishing a plugin connection with Opsgenie in the near future. ### Description Following the guidelines presented in the Developer Manual for creating plugins, available at [Dev Manual](https://github.com/apache/incubator-devlake/blob/main/backend/DevelopmentManual.md), I have extended Devlake's functionality to interact with the Opsgenie API in a manner analogous to the Pagerduty Plugin. At present, this plugin is configured to operate within the context of a Service scope. It performs data collection, extraction, and convertion of Opsgenie Incidents to domain ticket.Issue and service convertion to domain ticket.Board (as Pagerduty does). I haven't been able to effectively associate users as Assignees in domain ticket.IssueAssignee, because Opsgenie's API doesn't establish a strong link between Incident entity and users (it only provides a list of responders with type and ID), since this domain have domainIssue.AssigneeId and domainIssue.AssigneeName, and I only had the Id. In the frontend's config-ui folder, the new plugin has been registered using the "token" key for establishing communication with the Opsgenie API. I'm using a placeholder icon in config-ui/src/plugins/register/opsgenie/assets/icon.png, don't know how to comply to logo standard ### Related issues https://github.com/apache/incubator-devlake/issues/5247 ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
