Hi,
If I understand correctly (correct me if I am wrong) you want to trigger something when a runbook job status is changed. By default, there is no such thing but here are some suggestions:
- have some custom script/code that runs periodically and checks for changes. There is a job API for Azure Automation jobs. Of course, this requires some custom code to accommodate to the logic for what you are trying to achieve.
- Automation account has diagnostic logs for jobs. You can send those to Event Hub/Log Analytics/ Storage account. For any of those you will have to do some custom integration to achieve the desired effect. Log Analytics have alerts which trough action groups trigger webhook, some Azure services or built-in notifications. If you can create Log Alert based on Kusto query language that achieve the desired result you can use that.
With any of the options you will have to have some custom code in order to interact with the Jira API.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.