How can we transfer attachments from JSM to JPD using automation?
We're using Jira Service Management (JSM) to intake ideas and pushing them into Jira Product Discovery (JPD) via automation. Currently, we're using the "Create Issue" action and linking the issues, but attachments aren't transferring.
Would using "Clone Issue" instead help preserve attachments?
What are the best practices or workarounds to ensure attachments are added to JPD tickets during this process?
Hi @Aaron Geister - I had the same problem when using automation to intake a work item via a JSM form and create an idea in JPD which included the attachments from the JSM work item. I got the same error as you reported: "Create work item... The set fields may be unavailable for this project/type. Fields ignored: <field name>".
However I found that the idea was actually created in JPD by the automation, and that the attachments from JSM were being added to the idea work item! Your screenshot also indicates the idea ticket has been successfully created (IDEA-28).
Atlassian Support informed me that this is a known issue - the attachments do get added but the error message is misleading. They have an open bug on this: AUTO-175 Cloning a ticket with attachment to a Product Discover Project produces a false error message (although this is on the clone operation in automation, the create operation in automation has the same problem).
Hi @Aaron Geister , could you please share the log results when using the Copy attachments from trigger issue ? I will try to reproduce.
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.
According to the request: Possibility to copy attachments through Automation rule, there is the possibility to copy the attachments as well in the Create Issue action (documentation)
We have enhanced the "Clone Issue", "Create Issue", "Edit Issue", "Transition Issue" and "Create service request" action component in A4J (automation in Jira Software and Jira Service Management) to allow users to select the “Attachments” from the list of supported issue fields. Now, the action component can create a new issue and copy across all field data possible, including the ability to copy attachments.
Try to choose Attachments from the field options and check if what says in the documentation works out.
Hopefully my reply helps you find the answer, if so, kindly mark it as the correct answer.
Kind Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We did that. I attached the error to the main post.
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.