Details
-
Bug
-
Status: Done
-
Low
-
Resolution: Done
-
6.17.0
-
SR4J Sprint 152 (8.8.0), SR4J Sprint 159 (8.15.0), SR4J Sprint 160 (8.16.0)
-
3.1
Description
The JQL function addedAfterSprintStart() returns different result in the filter subscription email. It seems to also include the issues added to the sprint before it commenced. The same saved search filter, however, retrieved the correct set of issues in the Issue Navigator.
Steps to Reproduce the Problem
Prerequisites
- Ensure that the Outgoing mail is configured & enabled
- Create a sample Scrum software development project
- Create an Agile board (Scrum) in the project
- On the top navigation bar, click on Projects & select the sample project
- On the left sidebar, click on Backlog
- At the Backlog section, click on + Create issue > input any value as Issue Summary > hit Enter
- Repeat step 3 two more times to create 3 issues
- Click on the Create sprint button on the right > select any Start Date & End Date > click Create
- Drag the 3 created issues into the sprint > click Start sprint
- Repeat step 3 & create another 3 new issues
- While the sprint is now active, drag the 3 newly created issues into the sprint
- On the top navigation bar, click on Issues & Search for issues
- In the JQL search bar, input either of the following queries
issueFunction in AddedAfterSprintStart("Board Name")
issueFunction in AddedAfterSprintStart("Board Name", "Sprint Name")
- Hit the Search button > click on Save as > input the Filter Name > Save
- Click on the Details link > click on New subscription > Subscribe > Click on Details again > Manage subscriptions > click Run now to send the subscription mail
- Compare the issues listed in the subscription mail with those that are returned via the Issue Navigator. Subscription mail: 6 issues vs. Issue Navigator: 3 issues
Expected Behaviour
In the filter subscription email, the JQL function returns only the issues that are added after the sprint starts.
Actual Behaviour
In the filter subscription email, the JQL function returns issues that are added to the sprint before it starts.
Additional Info
- Reproduced in
Jira Software 8.13.8 | ScriptRunner 6.17.0
Jira Software 8.13.8 | ScriptRunner 6.41.0