Skip to main content
Solved

Date enters the phase

  • February 11, 2022
  • 3 replies
  • 171 views

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

Best answer by Lucas Democh

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
}}
}
}
}
}}

 

3 replies

Lucas Democh
Forum|alt.badge.img+15
  • Legend
  • Answer
  • February 11, 2022

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
}}
}
}
}
}}

 


juliamsantarosa

Hello @Lucas Democh!

 

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


alicereis
Forum|alt.badge.img+5
  • Inspiring
  • February 17, 2022

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
}
}