Skip to content
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

JIRA plugin: ensure Summary is less than 255 chars #42825

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

marcoandredinis
Copy link
Contributor

@marcoandredinis marcoandredinis commented Jun 12, 2024

changelog: Fix Jira Issue creation when Summary exceeds the max allowed size

@hugoShaka
Copy link
Contributor

I removed the backport to v14 as we don't cut plugin releases from this version. v15 is the first version to receive backports.

return summary
}

return summary[:strings.LastIndexAny(summary[:254], ",")]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just say "my user request 12 roles" instead of truncating the role list?

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from Joerger June 12, 2024 15:03
@marcoandredinis marcoandredinis added this pull request to the merge queue Jun 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 12, 2024
@marcoandredinis marcoandredinis added this pull request to the merge queue Jun 12, 2024
Merged via the queue into master with commit 9c87991 Jun 12, 2024
37 checks passed
@marcoandredinis marcoandredinis deleted the marco/jira_summary_255_chars branch June 12, 2024 16:31
@public-teleport-github-review-bot

@marcoandredinis See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants