A client told me that one of their automations was failing but only very sporadically. One of the steps in the automation clones the current work item and then links the cloned version to the trigger issue. The failure came when the Reporter from the trigger issue was no longer an active user in the system. This caused the automation to fail on these very occasional occurrences.
The simple solution is to set the initiator as the reporter on the cloned work item. If you want to do this, when you Clone the work item, set the Reporter in the Clone ticket to {{initiator.accountId}}.
In the case of my client, this solution works. However, in many cases, you really do want the original Reporter to be carried over to the cloned work item. In that case, you need a few steps to manage this potential problem. Following is a step-by-step guide to addressing this problem.
The first step is to determine whether the Reporter is active or inactive. This Webhook call will respond the needed information.
You will need to create the Authorization information. To do that, see this page.
Derek Fields _RightStar_
Atlassian Practice Manager
RightStar
80 accepted answers
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
3 comments