-
Bug
-
Resolution: Fixed
-
High
-
8.2.1, 8.3.1, 8.5.4
-
8.02
-
7
-
Severity 2 - Major
-
10
-
Issue Summary
Performing development related activities such as creating commits, branches, pull requests will cause the related issue to disappear from the active sprint board.
Please note that this behavior cannot be reproduced reliably and the steps to reproduce will need to be repeated several times.
As of 19.11.20 the bug is reproducible every time.
Steps to Reproduce
Start a sprintCreate a new issueAdd the issue to active sprint by editing sprint field on the issueTransition IssueCreate a branch for issue via JiraCreate a Pull requestTransition Issue
Steps to Reproduce 2
Start a sprintCreate issueAdd issue to active sprint by editing sprint field on issueTransition issueCommit a new message with the issue keyCheck the sprint board
Actual steps to reproduce
- Create a sprint
- Create an issue
- Commit a new message with the issue key on EVERY devstatus.applink:thread (either make sure with additional logging, or just do it multiple times with some time space between pushes). You have to make sure that the same thread will perform a commit before and after assigning the issue to a sprint.
- Assign the issue to the sprint
- Commit yet another message with the same issue key
- Check the sprint board
Expected Results
The issues should be visible on the active sprint board
Actual Results
Check the Sprint board - the issue disappears from the board
- In this example, we can see issue AH-3 is added to the Sprint field for AH Sprint 1 but we cannot see the issue on the active sprint board:
- Perform a project re-index and issue re-appears
It is very hard to reproduce the issue reliably. After countless commits, we manage to reproduce the problem again ( AH-4 this time )
As of 19.11.20 the issue can be reproduced reliably every time, as seen on the following screenshot:
Checking this SQL output, the database returns correctly which confirms the problem with the indexes :
select cfv.issue as issueid, cfv.stringvalue as SprintNumber, ao."NAME" as SprintName, cf.cfname, p.pkey || '-' || jissue.IssueNum as IssueKey, cf.id As SprintCfid from CustomFieldValue cfv, CustomField cf, jiraissue jissue, project p, "AO_60DB71_SPRINT" ao where cf.cfname='Sprint'and cf.Id = cfv.CustomField and jissue.id = cfv.issue and jissue.project = p.Id and cf.cfname='Sprint' and ao."NAME" like '%<SPRINT_NAME>%'
Workaround
Use the reindex rest API as a work around for the issues that are impacted: https://docs.atlassian.com/software/jira/docs/api/REST/8.9.0/#api/2/reindex-reindexIssues