From a846c6776fcd0037fcd27e05d336729f52e2ce9e Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Tue, 19 Jun 2018 11:35:51 -0400 Subject: [PATCH] Adding priority into JIRA --- src/main/java/org/redhat/gitparser/GitParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/redhat/gitparser/GitParser.java b/src/main/java/org/redhat/gitparser/GitParser.java index 57bf1e6..0b4697c 100644 --- a/src/main/java/org/redhat/gitparser/GitParser.java +++ b/src/main/java/org/redhat/gitparser/GitParser.java @@ -309,7 +309,8 @@ public void parse(File outputFile, String from, String to) throws Exception { String issuetype = getField(object, "issuetype"); String status = getField(object, "status"); String resolution = getField(object, "resolution"); - bufferJIRA.append(makeALink(issuetype + "/" + resolution + "/" + status, jiraBrowseURI + jiraIteration)); + String priority = getField(object, "priority"); + bufferJIRA.append(makeALink(priority + "/" + issuetype + "/" + resolution + "/" + status, jiraBrowseURI + jiraIteration)); } else { bufferJIRA.append(makeALink(jiraIteration, jiraBrowseURI + jiraIteration)); }