Forums

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

Automação - Puxar valores de campos customizados do Epico criado

Leonardo Muniz
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!
August 16, 2024

Olá pessoal, tudo bom?

Montei uma automação no Jira que funciona da seguinte maneira:

Eu crio um épico, caso ele passe por duas condições, eu peço para abrir uma sequência de itens filhos, como mostra abaixo:


Automaçao.png

Nas tarefas criadas, eu gostaria de puxar um valor de um campo customizado escolhido no item épico, ou seja, na criação do épico eu coloco esse campo customizado com o valor correto e gostaria que nos itens filhos esse campo possua o mesmo valor.

O campo em questão inclusive é esse que aparece nas condições:
customfield_10325 igual a Projetos.

Ele possui como nome: Demanda (setor)

Nas configurações da criação de cada tarefa eu já tentei de duas maneiras:

Demanda item atual.png
E dessa maneira também:

Demanda setada.png

 

Assim, quando se abre os itens filhos, nenhum está com o valor setado, aparece o campo porém vazio. 

 

Consultando o log de auditoria da automação, eu recebo essa mensagem:


Erro.png

 

O que inclusive me mostra outro valor de ID de campo customizado. Lá em cima podemos ver o filtro puxando pelo campo de ID 10325, e no log o ID 10328.

Eu não sou admin nem fui responsável por montar todo o projeto desse Jira que trabalho, então fiquei também com pouco acesso às edições de campos customizados.

Enfim, gostaria de entender qual é o erro e o que eu poderia fazer para conseguir trazer esse valor setados nos itens filhos, poderiam me ajudar?

Muito obrigado!!

1 answer

1 accepted

0 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.
August 16, 2024

Olá @Leonardo Muniz ,

Bem-vindo à comunidade Atlassiana.

Que tipo de projeto você está usando? Obtenha essas informações na coluna Tipo na página Exibir todos os projetos no menu Projetos.

Quando você cria manualmente um problema do tipo Tarefa nesse projeto o campo Demanda (setor) fica disponível para ser configurado?

 

Nesta etapa

 Demanda item atual.png

Para copiar os dados do Epic, que é o gatilho da regra, é necessário clicar no texto “Copiar Demanda (setor) de item atual”. Isso abrirá um pop-up que permitirá selecionar o campo do qual deseja copiar os dados e o problema do qual deseja copiar os dados. Você precisa alterar a opção Copiar de para Acionar problema.

Screenshot 2024-08-16 at 11.20.45 AM.png

 

---

Hello,

Welcome to the Atlassian community.

What type of project are you using? Get that information from the Type column on the View All Projects page under the Projects menu.

When you manually create an issue of type Tarefa in that project is the Demanda (setor) field available to be set?

 

In this step...

 

To copy data from the Epic, which is the trigger issue for the rule, you need to click on the "Copiar Demanda (setor) de item atual" text. This will open a pop-up that will allow you to select the field from which you want to copy data and the issue from which you want to copy the data. You need to change the Copy From option to Trigger Issue.

 

Automation - Pulling values ​​from custom fields from the created Epico

Hello everyone, how are you?

I set up an automation in Jira that works as follows:

I create an epic, if it passes two conditions, I ask it to open a sequence of child items, as shown below:

 

In the created tasks, I would like to pull a value from a custom field chosen in the epic item, that is, when creating the epic I put this custom field with the correct value and I would like this field to have the same value in the child items.

The field in question is the one that appears in the conditions:
customfield_10325 equals Projects.

Its name is: Demand (sector)

In the creation settings of each task, I have already tried two ways:

And this way too:

Thus, when the child items are opened, none of them have the value set, the field appears but is empty.

 

Consulting the automation audit log, I receive this message:

 

Which even shows me another custom field ID value. Up there we can see the filter pulling the ID field 10325, and in the log the ID 10328.

I'm not an admin nor was I responsible for setting up the entire Jira project that I work on, so I also had little access to editing custom fields.

Anyway, I would like to understand what the error is and what I could do to get this value set in the child items, could you help me?

Thank you very much!!

Leonardo Muniz
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!
August 19, 2024

Olá tudo bom? Muito obrigado pelas boas vindas!

Então, o projeto em si se trata do tipo: "Projetos de software gerenciados pela empresa"

Quando eu crio um issue do tipo Tarefa, o campo aparece sim, como abaixo:

Captura de tela 2024-08-19 142538.png

 

Na automação, eu coloquei exatamente essa configuração:


Captura de tela 2024-08-19 142354.png

Porém, mesmo assim o log me traz essa mensagem que coloquei no tópico anterior.


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.
August 20, 2024

O campo que você vê na caixa de diálogo Criar problema é denominado "Setor".

Captura de tela 2024-08-19 142538.png

Ao tentar criar um problema do mesmo tipo através da Automação, caso queira preencher o campo "Setor" é necessário selecionar o campo "Setor". Na imagem da sua regra vejo que você selecionou o campo "Demanda (setor)".

Screenshot 2024-08-20 at 3.10.17 PM.png  

Você precisa eliminar esse campo e selecionar o campo "Setor".

Qual é o tipo de campo do campo "Demanda (setor)"? Qual é o tipo de campo do campo "Setor"? Você ainda poderá copiar dados do campo "Demanda (setor)" do problema acionador para o campo "Setor" do novo problema, mas o método exato para fazer isso depende dos tipos de campo. Se os tipos de campo forem Lista de seleção, eles terão exatamente os mesmos valores disponíveis?

 

 

---

The field that you see in the Create Issue dialog is named "Setor".

When you try to create an issue of the same type through Automation, if you want to fill in the "Setor" field you need to select the "Setor" field. In the image of your rule I see you have instead selected the "Demanda (setor)" field.

 

You need to eliminate that field and instead select the "Setor" field.

What is the field type of the field "Demanda (setor)"? What is the field type of the field "Setor" field? You may still be able to copy data from the "Demanda (setor)" field of the trigger issue to the "Setor" field of the new issue, but the exact method to do that depends on the field types. If the field types are Select List, do they have the exact same values available?

Hello, how are you? Thank you very much for the welcome!

So, the project itself is of the type: "Enterprise managed software projects"

When I create a Task type issue, the field appears, as below:

In automation, I put exactly this configuration:

However, even so, the log brings me this message that I posted in the previous topic.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events