Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 2dc964c

Browse files
authored
Merge pull request #50 from topcoder-platform/v5-payment-jira-id-patch
default set jira Id during create payment
2 parents 962bcce + ad57dc8 commit 2dc964c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/com/topcoder/web/ejb/pacts/PactsServicesBean.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6437,6 +6437,10 @@ private Payment createPayment(BasePayment payment) {
64376437
case REFERENCE_DIGITAL_RUN_TRACK_ID:
64386438
p.getHeader().setDigitalRunTrackId(((DigitalRunTrackReferencePayment) payment).getTrackId());
64396439
break;
6440+
default:
6441+
// Set the jira ID all the time to support v5
6442+
log.info("*** Jira ID (Create Payment): " + ((CockpitProjectReferencePayment) payment).getJiraIssueName());
6443+
p.getHeader().setJiraIssueName(((CockpitProjectReferencePayment) payment).getJiraIssueName());
64406444
}
64416445

64426446

0 commit comments

Comments
 (0)