Olá a todos,
Estou configurando uma regra de automação no Jira e estou com dificuldades no Passo 4 da minha lógica. A regra que estou tentando construir é a seguinte:
Gatilho: Quando um ticket é criado.
Ação: Consulta quantos tickets existem com o mesmo resumo (do ticket recém-criado).
Problema: Preciso de ajuda para construir o Passo 4: Verificar se a contagem de tickets (com o mesmo resumo) é igual ou superior a 3.
Ação (seguinte): Se a condição for verdadeira (3 ou mais tickets), criar um novo problema.
Ação (final): Vincular todos os tickets encontrados no problema recém-criado.
Especificamente, como posso criar a condição no Jira Automation para verificar o resultado da contagem de tickets e, com base nisso, prosseguir ou não com as ações seguintes?
Qualquer ajuda ou exemplo seria muito apreciado!
Obrigado!
Olá @Fabrício Fernandes de Souza ,
Um ponto que as respostas de John e Deivid não abordaram na última etapa da sua automação: vincular o item recém-criado aos itens que possuem o mesmo resumo.
Para fazer isso, você precisará adicionar sua ramificação "Para JQL" após criar o novo problema e adicionar uma ação nele para vincular cada problema encontrado ao problema recém-criado.
---
Hello,
One thing that the answers from John and Deivid have not addressed in the last step in your automation - linking the newly created item to the items that have the same summary.
To do that you will need to to add your "For JQL" branch after creating the new issue, and add an action in it to link each issue found to the newly created issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá @Trudy Claspill !!!
Gostaria de melhorar minha automação adicionando uma regra no inicio.
Quero que se um problema existente for encontrado, vincular os novos incidentes a esse problema em vez de criar um novo.
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.
Na sua regra, você parece querer usar várias ações de Problema de Pesquisa com diferentes JQLs e executar diferentes conjuntos de ações com base nos resultados. Você pode explicar todo o propósito e o fluxo da sua regra?
A estrutura pode precisar ser alterada. Sua regra pode interromper o processamento se a primeira Condição não for atendida, e todas as etapas subsequentes podem não ser executadas.
---
In your rule you appear to want to use multiple Lookup Issue actions with different JQLs and take different sets of actions based on the results. Can you please explain the entire purpose and flow of your rule?
The structure may need to be changed. You rule may stop processing if the first Condition is not met, and all the steps that come after that may not be executed.
I would like to improve my automation by adding a rule at the beginning.
I want that if an existing issue is found, it will link new incidents to that issue instead of creating a new one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Na regra a ideia é:
Trigger criar um incident
Passo1 Verificar se já existe um problem cadastrado para esse incident.
Passo2 Se sim cadastrar o novo incident no problem existente.
Passo3 Se não cadastrar um novo problem
Passo4 Vincular todos os incident's relacionados ao novo problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A regra deve ser executada somente quando o item criado tiver um Tipo = "Incidente"?
Em caso afirmativo, imediatamente após o Gatilho, você deve usar uma Condição / Condição dos Campos do Item de Trabalho para confirmar que o Tipo de Item de Trabalho do problema do gatilho é "Incidente".
Para a Etapa 2, você deseja vincular o novo Incidente ao Problema existente?
Para a Etapa 3, você deseja vincular o Problema recém-criado ao Incidente que acionou a regra?
Não tenho certeza sobre o propósito da Etapa 4.
- Você está tentando vincular o novo Incidente que acionou a regra aos Incidentes pré-existentes?
- Você está tentando vincular os Incidentes existentes ao Problema recém-criado?
---
Should the rule execute only when the item created has a Type = "Incident"?
If yes, then immediate after the Trigger you should a Condition / Work Item Fields Condition to confirm the Work Item Type of the trigger issue is "Incident".
For Step 2, do you want to link the new Incident to the existing Problem?
For Step 3, do you want to link the newly created Problem to the Incident that triggered the rule?
I'm not sure about the purpose of Step 4.
- Are you trying to link the new Incident that triggered the rule to the pre-existing Incidents?
- Are you trying to link the existing Incidents to the newly created Problem?
The idea in the rule is:
Trigger to create an incident
Step 1 Check if there is already a problem registered for this incident.
Step 2 If yes, register the new incident in the existing problem.
Step 3 If not, register a new problem
Step 4 Link all incidents related to the new problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sim!
Preciso verificar se existe um problema com resumo semelhante ao incidente recém criado se sim vincular o incidente recém criado no problema existente.
Caso não exista um problema criado com resumo semelhante ao incidente recém criado, criar novo problema e vincular incidente recém criado e outros incidentes existentes que atendem mesmo critério do incidente recém criado.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Isso agora está sendo discutido em uma nova pergunta:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá Fabricio - Bem-vindo à Comunidade Atlassian!
Você poderia compartilhar uma captura de tela da sua regra? Isso nos ajudará. Você está usando os valores inteligentes {{lookupIssues}}? Porque você poderia obter uma contagem facilmente com isso.
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.
Sua ramificação JQL deve ser uma ação para lookupIssues. Basta incluir a JQL dentro da funcionalidade lookupIssues.
Veja o exemplo neste post anterior.
https://community.atlassian.com/forums/Jira-questions/Automation-help-lookupissue-size/qaq-p/2251791
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.
Fabrício, boa tarde!
Estou assumindo que você está utilizando o bloco "Lookup issues" no passo 2. Para consultar a quantidade de tickets você pode o smart value {{lookupissues.size}} assim:
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.
No caso adicionei a sua sugestão ao fluxo mas, mesmo assim não funciona!!!
Veja no print.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Você não precisa do branch nesse caso. Ficaria assim:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.