fix(customer-priority-bump): apply 'priority' label not the field (D5, unblocks Priority-field deletion) - #84
Merged
Conversation
…d (D5) D5 replaced the Priority single-select field with a binary 'priority' label. This reusable still set the (now-removed) Priority field, so it would fail once the field is deleted. Rewrite it to 'gh issue edit --add-label priority' — the label is visible on the issue and filterable everywhere. Prerequisite for deleting the Priority project field: this must be on main first, or the workflow errors on the missing field.
Contributor
Author
|
bugbot run |
Contributor
Author
|
👋 Heads-up — Code review queue is at 39 / 30 Above the WIP limit. The team convention is to review existing PRs before opening new work. Open PRs currently in Code review (oldest first):
Pull from review before opening new work. (This is a nudge from the kanban WIP check, not a block.) |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit e1854f1. Configure here.
LukasWodka
added a commit
that referenced
this pull request
Jul 26, 2026
…iority field (D5, promotes #84)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
D5: priority is a binary label now, not a project field. This reusable still set the Priority field — which would break once the field is deleted (I've deleted 8 of the 9 dead fields; Priority is the one held back on this).
Rewrites it to
gh issue edit --add-label priority. Merge → promote to main → then I delete the Priority field.Note
Low Risk
CI-only change to how customer issues are marked; no app runtime impact, though callers expecting P1 on the project board will now only get the label until they update filters/process.
Overview
D5: Customer-flagged issues are now escalated via a
priorityissue label instead of setting the org project’s Priority single-select field.The reusable
customer-priority-bumpworkflow drops the GraphQL project lookup, retry loop for project items, andupdateProjectV2ItemFieldValuemutation. Onfrom:customer, it runsgh issue edit --add-label priorityusing the existingPROJECTS_KANBAN_TOKEN. Workflow comments and step naming reflect the new behavior.Callers can still pass
project-number,org, andtarget-priority; those inputs are no longer used by the job (onlytrigger-labelbehavior remains).Reviewed by Cursor Bugbot for commit e1854f1. Bugbot is set up for automated code reviews on this repo. Configure here.