Hi there,
I am currently trying to set up a new automation within JIRA which basically works as follows:
In the cloned ticket's description, I am successfully getting the issue key. However I am not managing to show the description that I had updated in step (2).
I am using the following code within the additional fields section:
"fields": {
"description":"original issue {{issue.key}} updated description {{issue.description}}"
}
Any help please? Am I using {{issue.description}} correctly, or maybe do I need to add another component to make sure it gets the updated Description?
TIA
HI, CG! Welcome to the Atlassian Community!
After editing the issue, the smart value will still refer to issue.description as being the original information on it.
After running step 2, try adding another action: Re-fetch issue. That should give you the most recent value for the description.
Let us know how it goes!
Also, here's a bit more info on the re-fetch issue action, if you want:
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/
Cheers,
Filipi Lima
Hi @CG ,
I think I get this one ! It's probably because you nee to re-fetch / re-actualize your issue data between the action where you set a new value for the description field (step 2) and the moment you clone the issue (step 3).
Otherwise Automation doesn't get it and you'll find the old description value in your cloned issue :)
Just add an automation action called re-fetch issue data between steps 2 & 3 and it should work !
Let me know if it helps,
Guilhem
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.