atlassian / atlassian/github-for-jira

Don't display GitHub Actions in Jira if all jobs are skipped

Open
#911 3 comments 1 reaction 0 assignees View on GitHub
enhancement stay tuned
Dominant language
No language data
Stars
655
Forks
194
PR merge metrics
No merged PRs in 30d

Description

GitHub Actions allows users to skip a job, using something like `if: github.ref == 'refs/heads/main'` in their `.yml` file.
If all jobs from a workflow are skipped, we shouldn't display the workflow as a build/deploy in Jira, since nothing ran.

![Screen Shot 2021-11-15 at 2 52 54 pm](https://user-images.githubusercontent.com/58801956/141719708-b9547c97-4205-42cd-91b7-76f7d62d42a9.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing a workflow where every GitHub Actions job is skipped, then trace how the integration turns workflow results into Jira builds or deployments. Done means an all-skipped workflow creates no Jira build or deployment, while a workflow with a running job continues to appear.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.