Deployment is not shown on Jira from Azure DevOps if the YAML file doesn't follow a specific format for the environment tag

XMLWordPrintable

    • 2
    • 6

      Issue Summary

      Currently if the customers try to send Deployment information from Azure DevOps from Jira it's failing if the YAML follows the format documented at the following link:

      https://learn.microsoft.com/en-us/azure/devops/pipelines/process/environments?view=azure-devops#target-an-environment-from-a-deployment-job

       

      ...
          environment: 
            name: 'smarthotel-dev'
      ...

       

      It only works if you follow the next format:

      https://learn.microsoft.com/en-us/azure/devops/pipelines/process/deployment-jobs?view=azure-devops

      ...
          environment: staging 
      ...

      Steps to Reproduce

      • Create A YAML file in Azure DevOps that includes a block like the follwoing one:
      ...
         environment:
            name: 'smarthotel-dev' 
      ... 
      • Connect Azure DevOps with Jira
      • Trigger a Deployment Job in Azure DevOps that includes references to issue key in Jira

      Expected Results

      The deployment should be shown

      Actual Results

      No deployment data is shown

      Workaround

      Use the following format:

      ...
         environment: staging 
      ... 

            Assignee:
            Unassigned
            Reporter:
            Jorge H
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: