Pessoal, boa tarde!
Tenho o Jira Premium e uma estrutura de Épicos (pai) e Tarefas (filho).
Tanto o Épico, quanto a Tarefa, iniciam o fluxo no Status "Backlog" e possuem o campo "due date". Preciso criar uma automação que vai verificar o maior valor do campo "Due date" das Tarefas e atualizar o campo "Due date" do Épico.
Exemplo: imagine um Épico com 3 Tarefas e, tanto o Épico, quanto as Tarefas, estão no Status "Backlog".
Épico 1 - Tarefa 1
Épico 1 - Tarefa 2
Épico 1 - Tarefa 3
Quando eu movimentar a primeira de alguma das 3 Tarefas do Status "Backlog" para "Em desenvolvimento", a automação deverá:
1) Ler todas as 3 Tarefas do Épico 1 e verificar qual delas tem o maior valor para o campo "Due date"
2) Atualizar o campo "Due date" do Épico com o valor do campo encontrado no item anterior (item 1).
3) Movimentar o Épico para o Status "Em desenvolvimento"
Conseguem me ajudar a montar essa automação?
Obrigado.
This is a fairly common scenario to sum a field (or find the maximum value) for child issues of an Epic. The key is using the Lookup Issues Action with JQL to gather the child issues and find the maximum due date from there:
{{lookupIssues.duedate.max}}
I recommend reviewing the documentation on automation rules, trying to create the rule, and if you run into challenges, post images of your rule and explain what is not working as expected.
To get you started, please see these documentation sources:
Kind regards,
Bill
Olá Bill, bom dia! Obrigado pelo retorno!
Alterei a automação com os dados que você me passou, mas, não deu certo.
Segue a automação para sua análise:
Passo-a-passo da automação:
- Se eu transaciono de "Backlog" para "Em desenvolvimento" e for uma "Tarefa"
- Busco o "Pai" (Épico)
- Se o "Status" do "Pai" não for "Em desenvolvimento" e o campo "Due date" estiver vazio
- Edito o campo "Due date" do "Pai" fazendo um update com a maior "Due date" que ele encontrou dos "Filhos"
- Transaciono o "Pai" para o Status "Em desenvolvimento"
Porém, não está funcionando! Parece que não está reconhecendo o comando "{{lookupIssues.duedate.max}}"
Consegue me ajudar?
Obrigado.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the additional information.
Your rule is missing a step to use the Lookup Issues action with JQL. That must be used before the {{lookupIssues}} smart value may be used in the edit.
For example, inside of the branch that might be this:
As needed, please add additional criteria for selecting the issues to the JQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Boa tarde!
Não entendi sua orientação. Poderia, por gentileza, enviar um print como exemplo?
Obrigado.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using your rule as a starting point, I will add a bolded section for the addition:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá Vinicius,
Pode utilizar o seguinte código numa automação para obter a data máxima. Geralmente, é melhor utilizar a funcionalidade lookupIssues para obter todos os problemas ou apenas utilizar o problema de disparo com uma ramificação para os Filhos. Em seguida, no ramo pode selecionar a data máxima ou mínima.
{{issue.subtasks.Due date.max}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.