Skip to content

Making the Jira character limit configurable and reducing for addons team per request #1134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 29, 2025

Conversation

alexcottner
Copy link
Contributor

Making the jira character limit configurable and reducing to 10k for the addons team as requested.
Link to thread for context.

@alexcottner alexcottner requested a review from a team as a code owner April 28, 2025 20:10
@github-actions github-actions bot added the configuration Changes to JBI action configuration label Apr 28, 2025
@Rob--W
Copy link
Member

Rob--W commented Apr 28, 2025

For context: when I added [addons-jira] to https://bugzilla.mozilla.org/show_bug.cgi?id=1942712, jbi failed to create a JIRA ticket, with error POST /rest/api/2/issue?updateHistory=false -> HTTP 400: The entered text is too long. It exceeds the allowed limit of 32,767 characters.

#1132 tried to fix that by slightly lowering the limit, but that still failed.

So I wondered, why don't we just cut down the amount of text copied to say 10000 (or 15000), since Bugzilla is still there as the single source of truth, and that's how we arrived at this PR.

@alexcottner alexcottner merged commit 621552e into main Apr 29, 2025
5 checks passed
@alexcottner alexcottner deleted the reduce-char-limit branch April 29, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Changes to JBI action configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants