Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I don't see production deployments from BitBucket to Jira

Nikola Kalfov April 16, 2024

Hi folks, 

 

We have configured a pipeline in BitBucket. In the connected Jira in Deployments we do see all the deployments to the test environment. However, we don't see the deployments in the Production Environment. Could this be due to having something not configured in Jira, or it is due to the pipeline, and more specifically, overwriting a predefined step? 

 

image: mcr.microsoft.com/dotnet/sdk:8.0

definitions:

steps:

- step: &build-and-test

name: Build and Test

caches:

- dotnetcore

script:

- dotnet restore

- dotnet build --no-restore --configuration Release

- dotnet test --no-build --configuration Release --verbosity normal

- step: &deploy

name: Deploy to UAT

deployment: Test

trigger: manual

script:

- cd ~

- apt-get update

- apt-get install -y unzip

- curl -sL https://aka.ms/InstallAzureCLIDeb | bash

- wget https://github.com/Azure/azure-functions-core-tools/releases/download/4.0.5571/Azure.Functions.Cli.linux-x64.4.0.5571.zip

- unzip Azure.Functions.Cli.*.zip -d azure-functions-cli

- cd azure-functions-cli

- chmod +x func

- chmod +x gozip

- export PATH=`pwd`:$PATH

- cd /opt/atlassian/pipelines/agent/build/src/my-project

- az login --service-principal -u $AZURE_APP_ID -p $AZURE_PASSWORD --tenant $AZURE_TENANT_ID

- func azure functionapp publish $FUNCTION_NAME

pipelines:

branches:

main:

- step: *build-and-test

- step:

<<: *deploy

name: Deploy to Production

deployment: Production

develop:

- step: *build-and-test

- step: *deploy

default:

- step: *build-and-test

1 answer

1 accepted

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2024

Hey @Nikola Kalfov 

Could you please provide more information about the missing production deployment? Is it missing from the deployment tab in Bitbucket or the Jira side? Additionally, it would be helpful if you could share a screenshot of the issue.

Thank you.
Syahrul

Nikola Kalfov April 17, 2024

Hi, @Syahrul 

I see everything fine in BitBucket. I am not seeing it in Jira Deployments. Each day we had a deployment on Test, we also had a deployment on Prod. However, I am seeing only the test deployments in Jira Deployments:

Screenshot 2024-04-17 105023.png

 

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 17, 2024

Hey @Nikola Kalfov 

This looks like an issue with Jira side and not Bitbucket. Can you raise a support ticket directly with the Jira team in our Support portal?

Regards,
Syahrul

Nikola Kalfov April 18, 2024

Will do, thank you! 

Like Syahrul likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events