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.
Thanks
Hi @Baris - You'll want this for your description smart value:
{{triggerIssue.description}}
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.
Hi Mark,
I've changed the value
{{triggerIssue.description}}
But it is still not copying the issue description from the JQL that is in the automation
Any other suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
{{lookupIssues.description}}
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.
Let's make a slight tweak:
{{lookupIssues.get(0).description}}
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I also noticed you are adding the details in the "Additional fields sections" - this expects a fully qualified Jira edit payload. Instead, open "choose fields to set" dropdown and select 'description' and add the smart value there instead.
Cheers,
Brydie
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.
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.