Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-93621

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

XMLWordPrintable

    • 1
    • 6
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

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

              Unassigned Unassigned
              4bd2fd3801db Jorge H
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: