I've done a ton of cloning to other projects via automation, but it's always specified in the rule which project to clone into.
I now have a project that has a Project Picker field type on the bug screen, to allow a user to choose a destination project. I want to use the value of that field in my automation rule to determine which project to clone into, but the Project field in the clone step doesn't want to accept smart values.
I can type the smart value for the field into the Project field in the rule, but as soon as I move out of that field, it immediately changes back to Same Project.
Is this possible? Or is there another way to do this? (I've tried both Clone and Create Issue actions; same result.)
Hi @Esther Strom - You need to use the project ID (e.g. 12345) to set the Project in the Clone/Create Issue actions. There are two ways you can handle this:
Hi, Marc. Thanks for the response. We are not using JSM Premium, so no Assets. And cascading fields seems a bit more than we need, plus we'd still need to hard-code all the project IDs (unless you have another way of getting that info.)
I logged the value of {{issue.Destination Project}} and am hoping there's a way to get the project ID from this; just need to figure out how to parse it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Referring to the field by its custom ID is actually all I needed to do to get the value:
{{issue.customfield_10808.id}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Esther Strom
You need to click on the gray highlighted area that says Smart value '{{issue.Project Picker}}' to push the smart value into the field.
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.