Skip to content

Prevent NPE when a Jira Version does not exist#664

Merged
rantoniuk merged 5 commits intomasterfrom
rantoniuk/658-GetFixVersions
May 30, 2025
Merged

Prevent NPE when a Jira Version does not exist#664
rantoniuk merged 5 commits intomasterfrom
rantoniuk/658-GetFixVersions

Conversation

@rantoniuk
Copy link
Member

@rantoniuk rantoniuk commented May 27, 2025

  • Add Apache Collections API dependency
  • Use Optional.ofNullable() to prevent NPE if a version does not exist on Jira
  • add help info to explicitly state that build fails when using Create Version post-build step with a version that already exists in Jira

Replaces #661
Fixes #658

@rantoniuk rantoniuk force-pushed the rantoniuk/658-GetFixVersions branch from dd8d7cf to 01caf18 Compare May 27, 2025 14:06
@rantoniuk rantoniuk marked this pull request as ready for review May 27, 2025 14:16
@rantoniuk rantoniuk requested a review from a team as a code owner May 27, 2025 14:16
@rantoniuk rantoniuk force-pushed the rantoniuk/658-GetFixVersions branch 4 times, most recently from d4f2799 to a27b9b3 Compare May 30, 2025 13:25
@rantoniuk rantoniuk force-pushed the rantoniuk/658-GetFixVersions branch from a27b9b3 to 8c92801 Compare May 30, 2025 13:26
@rantoniuk rantoniuk force-pushed the rantoniuk/658-GetFixVersions branch from 1308f8c to 8828ed7 Compare May 30, 2025 13:48
@rantoniuk rantoniuk merged commit 1583eda into master May 30, 2025
17 checks passed
@rantoniuk rantoniuk deleted the rantoniuk/658-GetFixVersions branch May 30, 2025 14:32
@rantoniuk rantoniuk added the bug label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JIRA Plugin fails in Post-Build-Action "Move issues matching JQL to the specified version"

2 participants