Criar uma validação de acordo com o tipo de issue

Vinícius Pereira February 18, 2025

Pessoal, boa tarde!

Tenho uma validação para verificar o conteúdo do campo personalizado "Story Points". Essa validação está na transição entre 2 status do fluxo de trabalho, ou seja, quando vou transacionar a issue do status A para o status B, a validação verifica se o campo está vazio (validador de campo obrigatório). Essa validação é válida para qualquer tipo de issue.

Porém, preciso que a issue do tipo "Bug" não passe por essa validação, ou seja, quando eu for transacionar um Bug do status A para o status B e o campo Story Points estiver vazio, a validação não deve impedir.

Conseguem me ajudar, seja através de validação ou automação? Possuo o Jira Software standard.

Usando validação, consigo mostrar uma mensagem na tela para a pessoa que está tentando transacionar o item. Se eu tiver que usar automação ao invés de validação, eu conseguiria mostrar uma mensagem na tela também?

Obrigado.

1 answer

1 accepted

2 votes
Answer accepted
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.
February 18, 2025

Olá @Vinícius Pereira ,

Um método para resolver isso é ter um fluxo de trabalho separado para o tipo de problema Bug. O fluxo de trabalho seria idêntico ao fluxo de trabalho existente, mas não incluiria a validação na transição.

1. Crie uma cópia do fluxo de trabalho existente.

2. Na cópia remova a validação.

3. Modifique o esquema de fluxo de trabalho para associar o novo fluxo de trabalho ao tipo de problema Bug.

https://support.atlassian.com/jira-cloud-administration/docs/manage-issue-workflows/

 

---

Hello,

One method to solve this is to have a separate workflow for the Bug issue type. The workflow would be identical to the existing workflow, but would not include the validation in the transition.

1. Create a copy of the existing workflow.

2. In the copy remove the validation.

3. Modify the Workflow Scheme to associate the new workflow to the Bug issue type.

https://support.atlassian.com/jira-cloud-administration/docs/manage-issue-workflows/

Create a validation according to the issue type

Guys, good afternoon!

I have a validation to check the content of the "Story Points" custom field. This validation is in the transition between 2 workflow statuses, that is, when I transact the issue from status A to status B, the validation checks if the field is empty (required field validator). This validation is valid for any type of issue.

However, I need the "Bug" issue not to go through this validation, that is, when I transact a Bug from status A to status B and the Story Points field is empty, validation should not prevent it.

Can you help me, whether through validation or automation? I have standard Jira Software.

Using validation, I can show a message on the screen to the person trying to transact the item. If I have to use automation instead of validation, would I be able to show a message on the screen too?

Thanks.

Vinícius Pereira February 19, 2025

Olá Trudy, bom dia!

Faz bastante sentido a solução que você propôs. Muito obrigado!

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