fix #834: creation of related subtask tickets

Wed, 13 May 2026 23:15:51 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 13 May 2026 23:15:51 +0200
changeset 420
88f62698e20c
parent 419
36e7a021b04f
child 421
3ffbf8bfdbd8

fix #834: creation of related subtask tickets

src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog-de.jspf file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog.jspf file | annotate | diff | comparison | revisions
--- a/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt	Wed May 13 23:12:43 2026 +0200
+++ b/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt	Wed May 13 23:15:51 2026 +0200
@@ -527,6 +527,8 @@
                     } else if (type.first == RelationType.DefectOf && type.second) {
                         // defect of a Bug
                         issue.category = IssueCategory.Bug
+                    } else if (type.first == RelationType.SubtaskOf && type.second) {
+                        issue.category = IssueCategory.Task
                     }
                 }
             }
--- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Wed May 13 23:12:43 2026 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Wed May 13 23:15:51 2026 +0200
@@ -27,7 +27,8 @@
 <h3>Version 1.6.1</h3>
 
 <ul>
-    <li>Das Erstellen eines Verlinkten Bugs funktioniert nun richtig.</li>
+    <li>Das Erstellen eines verlinkten Bugs funktioniert nun richtig.</li>
+    <li>Das Erstellen verlinkter Unteraufgaben funktioniert nun richtig.</li>
 </ul>
 
 <h3>Version 1.6.0</h3>
--- a/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Wed May 13 23:12:43 2026 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Wed May 13 23:15:51 2026 +0200
@@ -28,6 +28,7 @@
 
 <ul>
     <li>Fix creation of related defect tickets.</li>
+    <li>Fix creation of related subtask tickets.</li>
 </ul>
 
 <h3>Version 1.6.0</h3>

mercurial