Skip to content

Fix issue dashboard returning issues from archived projects

Mario Celi requested to merge 396941-exclude-archived-backend into master

What does this MR do and why?

Adds the includeArchived argument to the GraphQL issues root query. Defaults to false as that was the behavior before we switched to vue and GraphQL. By changing this default, no frontend change is required for the fix.

In theory this is a breaking change since the default changes from include archived to don't include archived, but query was released as alpha, so no need to follow the regular deprecation process

How to set up and validate locally

Go to your issue dashboard http://localhost:3000/dashboard/issues. Pick an issue from the list and then archive the project the issue belongs to. After archiving the project the issue should not appear on the list anymore

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #396941 (closed)

Edited by Mario Celi

Merge request reports

Loading