Como consultar no JIRA tarefas relacionadas a tarefas já concluídas

Bruno Peixoto Almeida November 5, 2024

 

Como consultar no JIRA tarefas relacionadas a tarefas que já estão concluídas. Preciso pesquisar tarefas as tarefas que não foram encerradas e que já estão ligadas a tarefas/histórias já concluídas ou também as tarefas que já foram arquivadas. 
Desde já, muito obrigado!  

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 5, 2024

Olá @Bruno Peixoto Almeida ,

Isso não é possível apenas com recursos de filtragem nativos do Jira. Você está disposto a considerar um aplicativo de terceiros?

Com um aplicativo de terceiros, como o ScriptRunner Enhanced Search, os recursos de filtragem do Jira são estendidos. Com esse aplicativo você pode usar a função linkedIssuesOf() para conseguir o que deseja.

issueFunction in linkedIssuesOf("statusCategory=Done")

Isso forneceria a você todos os problemas vinculados, por qualquer tipo de link, aos problemas que estão na categoria de status Concluído (em um status verde).

Você pode querer refinar isso para procurar apenas problemas Concluídos em um projeto específico.

issueFunction in linkedIssuesOf("project=X and statusCategory=Done")

Você também pode refiná-lo para examinar apenas os problemas vinculados a um tipo de link específico.

issueFunction in linkedIssuesOf("project=X and statusCategory=Done", "is depended on by")

Se você quiser que sua lista final contenha apenas tarefas e histórias vinculadas ao problema concluído, adicione:

issueType in (Story, Task) and issueFunction in linkedIssuesOf("project=X and statusCategory=Done", "is depended on by")

E se você quiser que sua lista final contenha apenas tarefas e histórias incompletas vinculadas ao problema concluído, adicione:

statusCategory!=Done and issueType in (Story, Task) and issueFunction in linkedIssuesOf("project=X and statusCategory=Done", "is depended on by")

 

---

Hello,

That is not possible with only native Jira filtering capabilities. Are you willing to consider a third party app?

With a third party app such as ScriptRunner Enhanced Search Jira filtering capabilities are extended. With that app you could use the function linkedIssuesOf() to get what you want.

issueFunction in linkedIssuesOf("statusCategory=Done")

That would get you all the issues linked, by any link type, to issues that are in the Done Status Category (in a green-colored Status).

You may want to refine that to look only for Done issues in a particular project.

issueFunction in linkedIssuesOf("project=X and statusCategory=Done")

You can also refine it to look only at issues linked with a particular link type.

issueFunction in linkedIssuesOf("project=X and statusCategory=Done", "is depended on by")

If you want your final list to be only Task and Stories that are linked to done issue, add:

issueType in (Story,Task) and issueFunction in linkedIssuesOf("project=X and statusCategory=Done", "is depended on by")

And if you want your final list to be only incomplete Task and Stories that are linked to done issue, add:

statusCategory!=Done and issueType in (Story,Task) and issueFunction in linkedIssuesOf("project=X and statusCategory=Done", "is depended on by")

 

How to query tasks related to already completed tasks in JIRA

How to query tasks in JIRA related to tasks that are already completed. I need to search for tasks that have not been closed and that are already linked to tasks/stories that have already been completed or also tasks that have already been archived.
Thank you very much in advance!

 

Suggest an answer

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

Atlassian Community Events