Hi Team,
We have a requirement to store old key of a ticket in a custom field when moving a ticket from one project to other. Basically this is been tracked on integration tool.
So, have created an automation and selected the Move event and stored the value in a variable and copied the value onto a custom field. This automation is copying the issue new key instead of old one. Can any one help me how can figure this out. Thank you in advance.
I am aware that the Key can be stored in a custom field during the ticket creation process, but there are a lot of teams in my organization, thus additional tickets will be created every day. Don't want to breach the limit of executions, so looking to copy only moved issue key instead of all.
Hi!
I have found a Community post about that. The possible solution is burried a bit deeper in the comments:
The interesting part states:
Well, as a matter of fact, it works... And I don't know why, because it is not documented:
{{changelog.key.fromString}} gives you the previous key, and {{changelog.key.toString}} gives you the new key (as triggerIssue.key).
See if this works for you!
Jeroen
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.