Skip to content

Commit

Permalink
Shows the correct summary in Bitbucket Pull Request Decoration
Browse files Browse the repository at this point in the history
The Bitbucket decoration was incorrectly mapping the issue URL into the annotation summary field, so Bitbucket was rendering a link instead of the issue summary. The relevant annotations are being updated to ensure the correct fields are set on the Bitbucket decoration.
  • Loading branch information
ksl67 authored Oct 24, 2020
1 parent 3c1b05c commit ff725c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class CodeInsightsAnnotation {
@JsonProperty("line")
private final int line;
@JsonProperty("message")
@JsonProperty("summary")
private final String message;
@JsonProperty("path")
private final String path;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public class CloudAnnotation extends CodeInsightsAnnotation {
@JsonProperty("external_id")
private final String externalId;
@JsonProperty("summary")
@JsonProperty("link")
private final String link;
@JsonProperty("annotation_type")
private final String annotationType;
Expand Down

0 comments on commit ff725c6

Please sign in to comment.