Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DT-458: Add ability for admins to export stories regardless of status #333

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

torresga
Copy link
Contributor

@torresga torresga commented Oct 23, 2024

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

  1. Ensure the user you are using to test is an admin.
  2. Go to the project that has stories you'd like to export
  3. Click on 'CSV Import/Export'
  4. Click on the 'Export all stories' checkbox
  5. Ensure the resulting CSV has all stories regardless of status

Screenshots:

Screenshot 2024-10-23 at 10 31 50 AM ___

I will abide by the code of conduct.

@torresga torresga marked this pull request as ready for review October 23, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant