Gostaria de verificar se no Projeto PACEX está vinculado projeto OR
Se não está crie o projeto OR
E uma verificação de cards se foi criado e vinculado, tem como fazer essa automação?
Pra rodar e verificar o projeto PACEX se esta todos os vinculados!
Motivo alguns projetos estão ficando sem criar e consequentemente sem vinculo com o projeto principal.
Olá,
(Estou usando um aplicativo de tradução, então pode haver um erro na tradução da sua postagem ou na minha resposta.)
Se a regra de automação não estiver fazendo o que você espera, informe-nos o que está fazendo e como isso não atende às suas expectativas ou necessidades. Mostre também a saída do log de auditoria para a execução da regra.
Como você escreveu a regra, parece que o que você está tentando fazer é o seguinte:
Quando um problema sofrer uma alteração no campo Responsável, você verificará todos os problemas aos quais está vinculado para ver se "OR" faz parte da chave do problema vinculado. Para cada questão vinculada que não tenha "OR" na chave você criará uma nova questão no projeto Orçamento.
Vejo um problema imediatamente.
Em sua comparação avançada, você precisa usar {{issue.key}} em vez de apenas {{key}} se quiser verificar a chave do problema vinculado.
Além disso, se você tiver vários problemas vinculados ao seu problema acionador, para cada um desses problemas vinculados que não estão no projeto Orçamento, você criará um novo problema no projeto Orçamento. Você realmente deseja criar vários problemas no projeto de orçamento? Ou você deseja verificar se o problema acionador tem pelo menos um problema vinculado no projeto de orçamento e criar apenas um problema se o problema acionador não tiver problemas vinculados no projeto de orçamento?
---
Hello,
(I am using a translation application, so there may be an error in the translation of your post or my reply.)
If the automation rule is not doing what you expect it to do, please let us know what it is doing and how that does not meet your expectations or your needs. Also please show the output from the Audit Log for the execution of the rule.
As you have the rule written it appears that what you are trying to do is this:
When an issue experiences a change to the Responsible field then you will check every issue it to which it is linked to see if "OR" is part of the issue key for the linked issue. For each linked issue that does not have "OR" in the key you will then create a new issue in the Budget project.
I see one problem immediately.
In your Advanced Compare you need to use {{issue.key}} instead of just {{key}} if you want to check the issue key for the linked issue.
Also if you have multiple issues linked to your trigger issue, for each of those linked issues that is not in the Budget project you will create a new issue in the Budget project. Do you really want to create multiple issues in the Budget project? Or do you want to check if you trigger issue has at least one linked issue in the Budget project, and only create one issue if the trigger issue has no linked issues in the Budget project?
CARDS Verification - If it has been linked!
I would like to check if the PACEX Project is linked to the OR project
If not create OR projectAnd a verification of cards if it was created and linked, is there a way to do this automation?
To run and check if the PACEX project is all linked!Reason some projects are running out of creation and consequently no link with the main project.
Inglês
Hi, thanks for the feedback! But it didn't work, put Issue Key, but it still didn't run! In the error reported in the automation, it appears that no linked item was found!
Português:
Oie, obrigado pelo retorno!
Porém não funcionou, coloque Issue Key, porém ainda não rodou!
No erro informado na automação aparece que não encontrou nenhum item vinculado!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Se o log de auditoria informar que nenhum problema vinculado foi encontrado, você precisará examinar o problema que acionou a regra para confirmar se há problemas vinculados. A chave do problema que acionou a regra também é registrada no log de auditoria.
Se você acha que o problema tem problemas vinculados, você pode nos mostrar uma imagem de tela desse problema, incluindo a seção Problemas vinculados?
---
If the Audit Log reports that no linked issues are found you need to look at the issue that triggered the rule to confirm that it has linked issues. The key for the issue that triggered the rule is recorded in the Audit Log also.
If you think that the issue does have linked issues, can you show us a screen image for that issue, including the Linked Issues section?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Não tenho certeza se entendi corretamente o seu cenário. Talvez existam vários cenários.
1. Se o problema acionador não tiver links para nenhum outro problema (zero problemas vinculados), crie um problema no projeto "OR".
2. Se o problema acionador tiver alguns problemas vinculados, mas nenhum desses problemas vinculados estiver no projeto OR, crie um problema no projeto "OR".
Você está tentando automatizar os dois cenários?
Sua regra atual funcionará apenas para o segundo cenário.
Se você quiser cobrir ambos os cenários com uma regra, sugiro uma construção diferente.
Use o mesmo gatilho.
Em seguida, use a ação Pesquisar problemas com este JQL:
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-issues
issue in linkedIssues({{issue.key}}) and project=OR
Aqui está a referência à função linkedIssues:
https://support.atlassian.com/jira-software-cloud/docs/jql-functions/#linkedIssues--
Pesquisar problemas recupera uma lista de problemas que correspondem aos critérios fornecidos. linkedIssues retornará todos os problemas vinculados ao problema que você especificou. O resultado do JQL será retornar todos os problemas que estão vinculados ao seu problema gatilho, onde esse problema vinculado também está no projeto "OR"
Depois de executar uma ação Pesquisar problemas, você pode referenciar seu conjunto de resultados com o valor inteligente
{{lookupIssues}}
A próxima etapa seria usar uma condição de comparação avançada para verificar se o número de problemas retornados foi 0. Você pode obter a contagem de problemas no conjunto de resultados com o valor inteligente
{{lookupIssues.size}}
Se essa condição for aprovada, o problema acionador não terá nenhum problema vinculado ou nenhum dos problemas vinculados estará no projeto "OU".
As próximas etapas seriam as etapas usadas para criar o problema no projeto "OR".
---
I am not sure if I have correctly understood your scenario. Perhaps there are multiple scenarios.
1. If the trigger issue has no links to any other issues at all (zero linked issues) then create an issue in the "OR" project.
2. If the trigger issue has some linked issues, but none of those linked issues are in the OR project, then create an issue in the "OR" project.
Are you trying to automate both scenarios?
Your current rule will work only for the second scenario.
If you want to cover both scenarios with one rule, I suggest a different construction.
Use the same Trigger.
Then use the Lookup Issues action with this JQL:
issue in linkedIssues({{issue.key}}) and project=OR
Here is the reference to the linkedIssues function:
https://support.atlassian.com/jira-software-cloud/docs/jql-functions/#linkedIssues--
Lookup Issues retrieves a list of issue that match the criteria you give. linkedIssues will return all issues linked to the issue you specify. The result of the JQL will be to return all issues that are linked to your trigger issue where that linked issue is also in the project "OR"
After running a Lookup Issues action you can reference its results set with the smart value
{{lookupIssues}}
The next step would be to used an Advanced Compare condition to check if the number of issues returned was 0. You can get the count of issues in the results set with the smart value
{{lookupIssues.size}}
If this condition passes, then your trigger issue has either no linked issues at all or none of the linked issues are in the "OR" project.
The next steps would be the steps you use to create the issue in the "OR" project.
Goodnight!
This is the issue!
When there is no linked item in the PACEP project
Then create the OR project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.