I'm trying to capture the previous project name when moving an Issue from one project to another...
After looking at the documentation, it seems that the following should work...
{{#changelog.project.name}}{{fromString}}{{/}}
but unfortunately, it doesn't. neither does these...
{{#changelog.project}}{{fromString}}{{/}}
{{#changelog.project.name}}{{from}}{{/}}
Am I doing something wrong?
Thanks in advance.
Hi Victor,
I'm a bit surprised that you're having this issue. The following works for me:
{{#changelog.Project}}{{fromString}}{{/}}
Could I get you to open a support ticket with us so we can work this through with you? If you could include a screenshot of your rule configuration that would be fantastic.
Cheers,
Simeon [Automation for Jira]
Hi Simeon, thanks for the quick response. I just tried again and looks like it's working now with...
{{#changelog.project}}{{fromString}}{{/}}
I don't know why it didn't work yesterday.
Also, how do I get the previous issue key? I'm assuming it's the below but it returns empty string.
{{#changelog.issue.key}}{{fromString}}{{/}}
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Victor,
No worries, glad it is working.
For the issue key, the smart value is:
{{#changelog.Key}}{{fromString}}{{/}}
The trick to pulling these values out of the changelog is to look at the entries on the history tab:
I can see from this here that I can refer to three items from the move and the issue key is in there as Key.
Hopefully that helps.
Cheers,
Simeon.
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.
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.