duda filtro avanzado

uya res
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2018

Tengo el siguiente filtro y necesito modificarlo para que me muestre los datos resueltos de las ultimas 24 horas , marco en negrita la parte a modificar. 

 

issuetype = Communication AND status in (Resolved, CLOSE) AND resolution = Done AND "Descripción del estado de Portabilidad" is EMPTY AND Tecnologia = FTTH AND resolved >= startOfDay() AND resolved <= endOfDay() AND ("Segmento Cliente" = RESIDENCIAL OR "Segmento Cliente" is EMPTY) AND Operador ~ yoigo ORDER BY cf[11611] ASC

 

Gracias .

1 answer

1 accepted

2 votes
Answer accepted
Cristian Rosas [Tecnofor]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2018

Hola uya,

Si quieres que te respondan más rápidamente te recomiendo usar el inglés. En vez de usar startOfDay() utiliza número y la inicial de aquello a lo que quieras referirte. Los positivos y negativos son muy importantes en esto y tendrás que jugar y probar con ellos.

Creo que necesitas esto:

 resolved >= -1d

Jorge_de_Carlos
Contributor
July 18, 2018

Hola @Cristian Rosas [Tecnofor] qué tal?

Me podrías explicar la diferencia entre:

project in ("PROYECTO1") OR project in ("PROYECTO2")

project in ("PROYECTO1","PROYECTO2")

Gracias y un saludo!

Jorge

Cristian Rosas [Tecnofor]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2018

Hola Jorge,

La diferencia es que si pones un AND después de esto:

project in ("PROYECTO1") OR project in ("PROYECTO2") AND XXX

Lo que te mostrará es todo lo de PROYECTO1 y aquello que estan en PROYECTO2 también cumpla lo que se pide en XXX.

Los que sí que serían iguales serían estos dos, ya que los paréntesis hacen que se ejecuten al mismo tiempo:

project in ("PROYECTO1", "PROYECTO2") 

(project in ("PROYECTO1") OR project in ("PROYECTO2"))

Jorge_de_Carlos
Contributor
July 19, 2018

Visto @Cristian Rosas [Tecnofor], muchas gracias por tu ayuda.

He visto que si hay un ticket que originalmente pertenecía al PROYECTO 1 y posteriormente se ha cambiado al PROYECTO 2, aun condicionando: 

project in ("PROYECTO1", "PROYECTO2") AND XXX ( el ticket cumple XXX )

el ticket no se filtra correctamente y deberia aparecer.

Alguna idea para estos casos?

Esto es importante, suelen aparecer frecuentemente ya que el PROYECTO 2 es de mantenimiento...

Gracias de nuevo y un saludo!

Jorge

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events