atlassian / atlassian/github-for-jira

Deployments with environment protection rules show up as status 'Unknown' in Jira

Open
#1,056 4 comments 0 reactions 0 assignees View on GitHub
stay tuned
Dominant language
No language data
Stars
655
Forks
194
PR merge metrics
No merged PRs in 30d

Description

When using GitHub [environments](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment) to manage deployments, you have the ability to set protection rules.

For example if you want approval for production deployments you can add a 'Required Reviewer' to the 'production' environment. When workflows attempt to use this environment they will be stopped in a 'Waiting' status with a more detailed message of "is waiting for production deployment approval".

These workflows in the 'Waiting' status (screenshot below) show up as an 'Unknown' status in Jira (screenshot below).

![image](https://user-images.githubusercontent.com/990120/151711556-722a0d26-de73-4f48-acc6-1113019a8af7.png)

![image](https://user-images.githubusercontent.com/990120/151711422-94fddd84-3217-47a6-8415-910c195e1d18.png)

![image](https://user-images.githubusercontent.com/990120/151711406-1145ee7d-9bdb-4cbf-9502-735d988dcf03.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce a GitHub Actions deployment that is waiting for approval through an environment protection rule, then compare its status with the status shown in Jira. The issue is done when waiting deployments no longer appear as Unknown and instead show an appropriate Jira status.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, github-actions
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.