Skip to content

PUT request with archived=False to update card archives them #7243

@simon-pfahler

Description

@simon-pfahler

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug
If archived=False is explicitly given in a PUT request to update a card, the card gets archived even though it should explicitly not be.

To Reproduce
Steps to reproduce the behavior:

  1. Create a card in some way (API or via the interface)
  2. Send a PUT request to change a card and specify archived=False, e.g.:
    curl -X PUT -d title=TITLE -d type=plain -d owner=OWNER -d archived=False -u USER:PASSWORD https://INSTANCE_URL/apps/deck/api/v1.0/boards/X/stacks/X/cards/X
  3. The card is now archived, even though it should not be.

Expected behavior
The card should be updated, but not be archived.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions