--- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp Mon Jan 04 15:34:41 2021 +0100 +++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp Mon Jan 04 17:30:10 2021 +0100 @@ -87,6 +87,7 @@ <c:forEach var="component" items="${viewmodel.components}"> <option <c:if test="${not empty issue.component and component eq issue.component}">selected</c:if> + <c:if test="${empty issue.component and component.id eq cid}">selected</c:if> value="${component.id}"><c:out value="${component.name}"/></option> </c:forEach> </select>