Olá,
Estou fazendo uma automação que clona o item de um projeto a outro, vincula os dois itens criados e dispara um alerta no Slack.
Porém, não estou conseguindo incluir a url ou o link do item que foi clonado.
"Olá, <!here> !
Um item foi aberto à partir do Service Desk.
{{issue.key}} - {{issue.summary}}
{{issue.url}}"
Quero que abaixo da issue.url retorne a url do item que foi clonado para o outro projeto.
Olá Erick, você tentou usar o smart value
{{createdIssue.key}}
ou
{{createdIssue.url}}
?
Talvez essa parte da documentação ajude: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--createdIssue--
Você pode ver um exemplo de uma regra utilizando a ação "Clone issue" aqui: https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/1357222/26550314
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá, Thales.
Funcionou da forma que comentou. Muito obrigado !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For sending message to Slack, and formatting it as url link in Slack, you can use such message body, for example:
{
"channel":"{{slackchannelid}}",
"text":"Jira issue: “Issue <{{issue.url}}|{{issue.key}} - {{issue.summary}}> created“"
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
You describe cloning an issue into another project, and so I wonder...what is the scope of your rule: project, multiple-project, or global?
A project-scope rule can create or clone issues into a different project. However it cannot "see" their data. To see the data, like the URL, the rule would need to be multiple-project or global in scope. And to create a rule like that, your Jira Site Admin will need to help.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.