points
points copied to clipboard
DT-458: Add ability for admins to export stories regardless of status
Jira Ticket
https://ombulabs.atlassian.net/browse/DT-458
Motivation / Context
Currently, stories are only exported to CSV if they have an accepted status. This feature allows admin users to export stories regardless of their status. Non-admins should only be able to export approved stories.
I also refactored the export method because Code Climate was complaining.
QA / Testing Instructions
- Ensure the user you are using to test is an admin.
- Go to the project that has stories you'd like to export
- Click on 'CSV Import/Export'
- Click on the 'Export all stories' checkbox
- Ensure the resulting CSV has all stories regardless of status
Screenshots:
I will abide by the code of conduct.