Azure DevOps for Jira (official) was installed to the Jira apps and configured to use my Azure organization. The new Jira automation rule was created; it must be triggered on Development "Deployment successful" and must create the new task in Jira. In Azure DevOps, the new environment "Development" was created, and I configured the pipeline job to use it:
jobs:
- ${{ if eq(parameters.environment, 'dev') }}:
- deployment: DeployToDev
environment: Development
displayName: 'Deploy to DEV'
strategy:
runOnce:
deploy:
steps:
- checkout: self
- template: <path to my pipeline>@<connected repository>
The code and this pipeline are stored in BitBucket.
I followed this guide https://support.atlassian.com/jira-cloud-administration/docs/integrate-azure-devops-with-jira/#Enable-OAuth-in-Azure-DevOps, but my automation rule was never triggered.