Question

Problem using mutation moveCardToPhase

  • 12 January 2023
  • 3 replies
  • 292 views

Userlevel 1
Badge

Hi, I want to update the field Done from false to true of a card using graphQL, how can I do that ? I need to move some cards to next phases:

I´m tryng this mutation:
 

mutation {

  moveCardToPhase(

    input: {

      card_id: cardID

      destination_phase_id: newPhaseID

    }

  ) {

    card {

      id

      current_phase{

        name

      }

    }

    

  }

}


And I’m getting the bellow error

"message": "Card could not be moved to phase id: 1234567"

How can I figure out what fields are required to allow this Phase updating of the card ?


Thanks in advance for any help.


This topic has been closed for comments

3 replies

Userlevel 7

Hi @alexandrevc, did you solve it? Can we still help you?

Userlevel 1

Alexandre, in this initial phase when the card is going out, do you have mandatory fields that are not filled in?

Userlevel 1

Good morning Alexandre, how are you?

A momenot, I'll check it out for you