question

scal avatar image
0 Votes"
scal asked PramodValavala-MSFT answered

Event Grid integration with Jira

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-automationazure-event-grid
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered

@scal 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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.