I'm using a project where i have several issues with descriptions etc. like a template
I want to be able to use the automation when I create an issue in a different project the description should be copied from the source project to the new issue into the destination Project.
The source project will serve as a template project.
I can not figure it out how to have the desription copied from another project via automation.
Please suggest if anyone has any idea.
Hi @Baris - You'll want this for your description smart value:
The problem with issue.description is that you're inside a branch so your issue becomes the target issue so you're then telling it to simply maintain whatever its description is. By setting it to triggerIssue, you'll copy the value from the issue that triggered the rule.
Sorry - I didn't catch a couple things with my first response.
After reviewing the rule a little closer, I see that you're trying to trigger on the target. My mistake as I assumed you were cloning from the originating issue. In this case, you'll want to make the following changes:
Let's make a slight tweak:
The invalid JSON is likely because Lookup Issues is returning an array. This change will bring in the description for the first issue in the result set. I'm assuming your query will always bring in only one issue so this should cover that need.