Solved

Date enters the phase

  • 11 February 2022
  • 3 replies
  • 115 views

Userlevel 3
Hello community!How do I find out the date the card entered the phase?Thanks for the attention.
icon

Best answer by Lucas Democh 11 February 2022, 20:14

View original

3 replies

Userlevel 7
Badge +15

Hello @juliamsantarosa 

You can use the code below to extract information from the current phase of the card.

I left all phase field options available in the code.

{
pipe (id: XXXXXXXX) {
id
name


phases {
name
id
cards (first: 1) {
edges{
node{
id
title


}
node{
current_phase {
id
name
}

phases_history {
became_late
created_at
draft
duration
firstTimeIn
lastTimeIn
lastTimeOut
}}
}
}
}
}}

 

Userlevel 3

Hello @Lucas Democh!

 

I tried using your code and it worked. Thank you so much for the reply and help.

Userlevel 6
Badge +5

Or you can use this code if you want just to know when the card starts in the current phase:

 

{
card (id: "xxxxxxxxx") {

started_current_phase_at
}
}

 

Reply