Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

¿Cómo realizar un filtro para obtener la lista de proyectos iniciados en el tiempo estimado o fuera

Jaqueline Cuatepitzi Bastida August 16, 2021

¿Cómo realizar un filtro para obtener la lista de proyectos iniciados en el tiempo estimado o fuera de el?

Quisiera saber como hacer un filtro o una consulta para obtener la lista de proyectos (incidencias) iniciadas en el tiempo establecido o fuera de el.

Tengo dos campos para medir esto: Fecha de inicio planeada (llenada por el usuario) y Fecha de inicio real (llenado de forma automática).

  • Lo que quisiera obtener es la lista de todos los proyectos que iniciaron en la Fecha de inicio planeada o antes.
  • Y una lista de proyectos que iniciaron después de la fecha de inicio planead

1 answer

0 votes
Bill Sheboy
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.
August 17, 2021

Hi @Jaqueline Cuatepitzi Bastida 

With out-of-the-box Jira's JQL, you cannot write a query to compare two fields; JQL is not a SQL.  There are marketplace addons for purchase which may add this ability.

And, when you note "project" do you mean Jira projects?  If so, then this query would not be possible as Jira's JQL looks at issues, not projects or other entities.

Best regards,
Bill

Jaqueline Cuatepitzi Bastida August 17, 2021

Hi, thank for you answer.

When I say "Project", I mean that I create a case called "Project". Project is like an epic, user story, task, etc. I name the incident "Project".

And in that issue called Project, add the Planned Start Date custom field and the custom field Actual planned end date.

Like Bill Sheboy likes this
Bill Sheboy
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.
August 17, 2021

Thank you for explaining, and you would need an addon to do this with JQL.

If you only need this once/a few times, you could also export the data and perform the check manually in a spreadsheet.

As an another work-around: you note that Actual Start Date is filled in automatically, perhaps with an automation rule.  When that occurs, you could also set another custom field to indicate Started On Time.  That single field could then be queried with JQL for reporting, dashboards, etc.  For example:

  • trigger: field changes for Actual Start Date
  • if/else condition: Actual Start Date <= Planned Start
    • action: edit Started On Time to "yes"
  • else condition:
    • action: edit Started On Time to "no"

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events