Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
None
-
None
-
19
-
Severity 3 - Minor
-
1
-
Description
NOTE: This bug report is for JIRA Software Server. Using JIRA Software Cloud? See the corresponding bug report.
Summary
Attempting to edit an issue presents with the error "Issue has multiple acive or future sprints" [sic]. This prevents saving the changes to the issue.
The following may appear in the atlassian-greenhopper.log:
2015-12-03 11:08:20,373 http-bio-8080-exec-1099 ERROR lgodbole 668x100203x7 1ou4znq 10.0.0.3,127.0.0.1 /rest/greenhopper/1.0/xboard/issue/details.json [web.rapid.issue.IssueResource] Unable to complete GreenHopper REST method java.lang.IllegalStateException: Issue ABC-123 has multiple active or future sprints at com.atlassian.greenhopper.service.sprint.SprintIssueServiceImpl$SprintFilterFunction.apply(SprintIssueServiceImpl.java:381) at com.atlassian.greenhopper.service.sprint.SprintIssueServiceImpl$SprintFilterFunction.apply(SprintIssueServiceImpl.java:364) at com.atlassian.greenhopper.service.ServiceOutcomes.map(ServiceOutcomes.java:38) at com.atlassian.greenhopper.service.sprint.SprintIssueServiceImpl.getActiveOrFutureSprintForIssue(SprintIssueServiceImpl.java:235) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:127) at com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:106) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42) at com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:115) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:96) at com.atlassian.greenhopper.web.rapid.issue.IssueResource.getPageData(IssueResource.java:105) at sun.reflect.GeneratedMethodAccessor2080.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234)
Steps to Reproduce
- Restore an instance with a problematic data set (one that has managed to get multiple Sprint fields onto one edit screen in different tabs).
- Edit the issue and change the sprint field.
- Attempt to save the changes.
Expected Results
The changes are successfully sent.
Actual Results
The changes fail to save and the attached error is presented to the user.
Notes
This is caused by multiple Sprint fields appearing on the edit screen in different tabs. This appears to be caused by an upgrade task. Additionally in earlier versions the spelling of "acive" was incorrect, and has since been updated to "active".
Workaround
Edit the screen for that project and remove the Sprint field from one of the tabs as per Defining a Screen. This will prevent JIRA Agile from displaying this error.
Attachments
Issue Links
- causes
-
JSWSERVER-12901 Editing sprint puts issue in multiple sprints, only one shown in edit dialog
- Closed
- relates to
-
JSWCLOUD-10652 Cannot edit Sprint field due to Issue having multiple active or future sprints
- Closed