Somar valores de diferentes issues

Paulo H. M. Ghizi
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!
September 12, 2023

Eu preciso que o meu custom field número "Nº da Folha" some sempre 1 com o último colocado, por exemplo se o último valor de folha colocado em outro issue foi 301, no próximo issue ele vai colocar 302. 

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.
September 14, 2023

Olá @Paulo H. M. Ghizi ,

Bem-vindo à comunidade Atlassian.

Você pode fazer isso com uma regra de automação.

https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/

Defina o gatilho para problema criado.

https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Issue-created

Use a ação Pesquisar problema para recuperar todos os problemas que possuem um valor no campo "Número da planilha".

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-issues

Para definir o campo Número da planilha no problema recém-criado, use Editar ação e defina o campo com o valor inteligente:

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Edit-issue

{{lookupIssues.fieldName.max.plus(1)}}

Onde usei "fieldName", você inseriria o nome real do campo "Número da planilha".

 

---

Hello,

Welcome to the Atlassian community.

You might be able to do this with an Automation rule.

Set the Trigger to Issue Created.

Use the Lookup Issue action to retrieve all the issues that have a value in the "Sheet Number" field.

To set the Sheet Number field in the newly created issue use Edit Action and set the field to the smart value:

{{lookupIssues.fieldName.max.plus(1)}}

Where I used "fieldName" you would insert the actual name of your "Sheet Number" field.

 

Add values ​​from different issues

I need my custom field number "Sheet Number" to always add up to 1 with the last one placed, for example if the last sheet value placed in another issue was 301, in the next issue it will put 302.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events