I have two stories (I know they are missing the benefit part)
- As a Credit Management User, I can view the current and previous payroll differences for Offices.
- As a Credit Management User, I can receive an email containing a PDF of the current and previous payroll differences for Offices.
The two are related in that they would have the same Query / Filter criteria. The only difference is that in the "View" story, the results are displayed to the User and in "Email" story, the results are written to a PDF that is emailed to the User.
I am struggling with the separation of the common aspects of these two stories or if I should even do so.
For example, they will both have the same query, what they do with the results is different.
Should I separate the query out into another story that is purely technical?
The creation of the PDF and sending of the email should be done offline, should that become a technical story?
I could see breaking those two stories down into 2 functional stories and 2 technical stories.
As the System, I can calculate the differences in the current and previous payroll for Offices.
As a Credit Management User, I can view the differences in the current and previous payroll for Offices.
As the System, I can create a PDF document of the differences in the current and previous payroll for Offices.
As a Credit Management User, I can request to receive an email containing a PDF of the differences in the current and previous payroll for Offices.
The problem I keep coming back to is that the 4 stories are not independent and do not "slice the cake".
So I am not quite sure how to deal with these two.