Forums

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

É possivel deixar um campo obrigatorio por tipo de issue (story, spyke, etc)?

Carlos Friedrich
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 22, 2023

Gostaria de deixar um campo obrigatorio mas apenas para um tipo de cartão.

Por exemplo, deixar o campo fixversion apenas obrigatorio para cards User Stories e não nos cards tipo spike.

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
November 22, 2023

Olá @Carlos Friedrich ,

Bem-vindo à comunidade Atlassian.

É possível tornar um campo obrigatório com base no tipo de problema.

Você deseja que o campo seja obrigatório o tempo todo ou apenas quando um problema transitar para um determinado status?

Você está trabalhando com um projeto gerenciado por equipe ou gerenciado pela empresa? O método para tornar o campo obrigatório difere entre esses tipos de projetos.

 

---

Hello,

Welcome to the Atlassian community.

It is possible to make a field mandatory based on the issue type.

Do you want to have the field be mandatory all the time, or only when an issue transitions to a certain status?

Are you working with a Team Managed project or a Company Managed project? The method to make the field mandatory differs between these types of projects.

Is it possible to leave a mandatory field per type of issue (story, spyke, etc.)?

I would like to leave a mandatory field but only for one type of card.

For example, making the fixversion field only mandatory for User Stories cards and not for spike cards.

Carlos Friedrich
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 22, 2023

O campo teria que ser obrigatório o tempo todo mas apenas para um determinado tipo de issue.

Usamos o jira Gerenciado pela Empresa.

Trudy Claspill
Community Champion
November 22, 2023

Com um projeto gerenciado pela empresa, o projeto possui um esquema de configuração de campo. Se você navegar até Configurações do projeto > Problemas > Campos, verá o Esquema de configuração de campo.

O Esquema de Configuração de Campo associa Configurações de Campo a Tipos de Problemas.

 Screenshot 2023-11-22 at 11.59.25 AM.png

Aqui você pode ver que existem duas configurações de campo. Um está associado ao tipo de problema Bug e o outro está associado a todos os outros tipos de problemas deste projeto.

Você também pode ver que a configuração do campo associada ao tipo de problema Bug é compartilhada por 24 projetos.

 

Na Configuração do Campo você pode definir um campo como Obrigatório o tempo todo.

Screenshot 2023-11-22 at 11.56.48 AM.png 

Para que essa mudança tenha impacto apenas no tipo de problema desejado e apenas no projeto desejado, você precisa garantir que o projeto use um esquema de configuração de campo que não seja compartilhado com nenhum outro projeto e que a configuração de campo associada ao O tipo de problema alvo não é compartilhado com nenhum outro tipo de problema nesse projeto nem com nenhum outro projeto.

Isso pode exigir que você crie um novo (ou copie) Esquema de Configuração de Campo para usar com o projeto (se o Esquema de Configuração de Campo for compartilhado com outros projetos). E pode exigir que você crie uma nova (ou copie) uma configuração de campo para usar para o tipo de problema alvo.

Você pode encontrar documentação para gerenciar esquemas de configuração de campo aqui:

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

---

With a Company Managed project the project has a Field Configuration Scheme. If you navigate to Project Settings > Issues > Fields, then you will see the Field Configuration Scheme.

The Field Configuration Scheme associates Field Configurations to Issue Types.

<image>

 

Here you can see that there are two Field Configurations. One is associated to the Bug issue type, and the other is associated to all the other issue types in this project.

You can also see that the Field Configuration associated with the Bug issue type is shared by 24 projects.

 

In the Field Configuration you can set a field to be Required all the time.

<image>

 

To have that change impact only the issue type you want, and in only the project that you want, you need to ensure that the project uses a Field Configuration Scheme that is not shared with any other projects, and that the Field Configuration associated with the target issue type is not shared with any other  issue types in that project nor with any other projects. 

That may require you to make a new (or copy) Field Configuration Scheme to use with the project (if the Field Configuration Scheme is shared with other projects). And it may require you to make a new (or copy) a Field Configuration to use for the target issue type.

You can find documentation for managing Field Configuration Schemes here:

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

 

The field would have to be mandatory at all times but only for a certain type of issue.

We use Company Managed Jira.

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