Solved

Update title of a card

  • 21 September 2023
  • 1 reply
  • 95 views

Badge

I’m trying to update a title of a card without changing the field linked to that.

 

for example. in this pipe, the title field is the “ applicant's name “. but later in the process, we want to change the title to the applicant’s company name, instead of the applicant's name , and i cannot simply delete the applicant's name  and put the company name that i want, because i would lose that information

 

The mutation that i am using is:
“mutation{
   updateFieldsValues(input: {
    clientMutationId: "test"
    nodeId:"card id",
    values:[{ fieldId: "title" value: "New title" }]
  }) {
     clientMutationId
   }
}”

the return is:

“{
  "data": {
    "updateFieldsValues": {
      "clientMutationId": "teste"
    }
  }
}”

But the card remain with the origin title, without chance.

icon

Best answer by lucas-lacerda-pipefy 22 September 2023, 00:33

View original

1 reply

Userlevel 5
Badge

Hi @caio-pagliarani, how are you? 

 

Could you please try this query

mutation {
updateCard(input: {id: 779183640, title: "New title"}) {
card {
title
}
}
}

 

You can find more querys and mutations on this link

Reply