I am creating an automated email that displays both the project that the issue was originally under and to which it was moved to ({{issue.project.name}}.
I need help finding the name of the original project. I've tried many versions but none of them seem to work. I may be misunderstanding how to use the {{fieldchange}} smart value.
The below is the what I could come up with
{{issue.project.name.fieldChange.fromString}}
I saw here https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-to-get-the-previous-value-of-the-field-in-jira-email/qaq-p/1897271 and tried using the following: {{changelog.project.fromString}}. Still no luck.
Any help would be greatly appreciated. Thanks!
Hi @Justin Gong
From an automation rule, that changelog information is only available with the Issue Moved trigger in the destination project.
This would provide the information, if you wrote it to the log:
{{issue.key}} was moved {{#changelog.project}}from "{{fromString}}" to "{{toString}}"{{/}}
Kind regards,
Bill
Thanks for your reply Bill. What do you mean by "Issue Moved trigger in the destination project."? I currently have the moved issue trigger to be from any project to any project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That should be okay also.
I was noting that the "fromString" and "toString" would be relative to the project to-which-the-issue-was-moved. And so if the rule was project-scope, versus global, that is where the rule would trigger.
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.