Skip to content

chore: add jira in-review transition for ready PRs - #72

Open
joaodordio wants to merge 1 commit into
mainfrom
chore/jira-in-review-on-ready-pr
Open

chore: add jira in-review transition for ready PRs#72
joaodordio wants to merge 1 commit into
mainfrom
chore/jira-in-review-on-ready-pr

Conversation

@joaodordio

@joaodordio joaodordio commented Aug 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a GitHub Action that transitions linked SDK-* Jira tickets to In Review when a non-draft PR is opened or marked ready for review.
  • Explicitly skips draft PRs so WIP stays in In Progress.
  • Uses repo secrets JIRA_BASE_URL, JIRA_USER_EMAIL, and JIRA_API_TOKEN (personal token for now; swap to a bot later).

Required follow-up

  1. Set the three secrets on this repo.
  2. Disable the native SDK Jira automation rule that transitions on Pull request created → In Review, otherwise drafts will still move.

Test plan

  • Set secrets on the repo
  • Open a draft PR with an SDK-* key → ticket stays In Progress
  • Mark that PR ready for review → ticket moves to In Review
  • Open a non-draft PR with an SDK-* key → ticket moves to In Review
  • Confirm PRs without an SDK-* key are no-ops

Skip draft PRs and only transition when a non-draft PR is opened or marked ready for review, so draft work stays In Progress.
@joaodordio
joaodordio requested a review from a team as a code owner August 7, 2026 23:52
@qltysh

qltysh Bot commented Aug 7, 2026

Copy link
Copy Markdown

Qlty


Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@jferrao-itrbl
jferrao-itrbl requested review from a team and removed request for a team August 10, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants