Hi gurus!
I am trying to copy some data (description, attachment, and a custom field) from a specific previous task [ABC-123], into a new task that is created, FYI both of these tasks are under the same epic [ABC-001].
Therefore, I am trying to trigger the automation to run when an issue is created under that epic, to copy data into the new task. Also, I am trying to utilize 'Edit Issue' actions rather than cloning issues, as there is other data from that task I do not need.
My current setup is:
Hi @Simon Galiazzo -- Welcome to the Atlassian Community!
Have you considered using Clone Issue and clearing the fields you do not need? That will make copying the attachment easier.
Back to your original question...
To access that other issue as a source for copying to the new issues, try using JQL to find it and the Lookup Issues action: https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-issues
And as an FYI, when you use the Issue Created trigger, I recommend always following that with a Re-fetch Issue action. That trigger can fire so quickly that the data may not yet be available, leading to conditions and actions not working as expected.
Kind regards,
Bill
Thanks @Bill Sheboy !
I had a play around again and managed to do what I needed to with a combination of setting the fields with data and copying some fields from the Epic. But thanks for your suggestion and the note about re-fetching issue data, that definitely helped and will keep that in mind for future rules using that trigger as well.
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.