Event Grid integration with Jira

sergecal 26 Reputation points
2021-09-21T13:04:14.933+00:00

Dear all,

We have an azure automation account in which we are running runbook to perform automation task.
Some tasks gets request from a Jira Ticket which then call Azure Automation API in order to run the workbook.

Then the runbook deliver back the status of the execution through a Jira Rest endpoint in order to update the ticket.

The case that we need to face on is that when the runbook complete with any status, it is calling the Jira REST endpoint in order to send the new status of the last execution. It could happen that during the endpoint call, the Jira instance might be down for some reason or not reachable. At the time the status will never be received has the runbook can not execute again to send the status and jira has no idea about it. So in this case the call goes to no where.

As fas as I could read from the EventGrid docuementation, it has a kind of retry job feature.

How does this can be apply in our case we try to solve ?

regards

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,184 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
345 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,611 Reputation points Microsoft Employee
    2021-09-22T08:12:04.44+00:00

    @sergecal For Event Grid to be a valid option here, Jira would need an endpoint that can handle notifications from Event Grid.

    Instead, Service Bus would be a better option instead. Your runbook could send a message to service bus and have an Azure Function or Logic App trigger based off it, making the call to Jira and when a failure occurs, requeue and schedule the message for another time.

    0 comments No comments