diff options
Diffstat (limited to 'sandbox/kgoodson/jagg')
-rw-r--r-- | sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java | 7 | ||||
-rw-r--r-- | sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java b/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java index cca29fe7ae..1b71c9e66b 100644 --- a/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java +++ b/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java @@ -118,10 +118,13 @@ public class PlanViewImpl implements PlanView { System.out.println(i.toString()); List<JAXBElement<?>> c = i.getContent(); for (JAXBElement<?> element : c) { - if("status".equals(element.getName().getLocalPart())){ + if("title".equals(element.getName().getLocalPart())) { + jd.setTitle((String)element.getValue()); + } + else if("status".equals(element.getName().getLocalPart())){ jd.setStatus((String)element.getValue()); } - if("responsible".equals(element.getName().getLocalPart())) { + else if("assignee".equals(element.getName().getLocalPart())) { jd.setAssignedTo((String)element.getValue()); } } diff --git a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html index 3420bf907b..b5b3cba24c 100644 --- a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html +++ b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html @@ -44,7 +44,7 @@ mscontent += "<tr>" +"<td>"+mswi[j].title+"</td>" + "<td><A HREF=\""+plan.issueBase+mswi[j].jira+"\">"+mswi[j].jira - +"</td>"+ "<td>"+mswi[j].responsible+"</td>"+ "<td>"+mswi[j].status+"</td>"+ "<td></td>" + +"</td>"+ "<td>"+mswi[j].jiraData.assignedTo+"</td>"+ "<td>"+mswi[j].jiraData.status+"</td>"+ "<td></td>" +"</tr>"; } |