You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi community
We receiving emails from webforms containing the reporter email in the description.
What we do with automation:
1. extract customer email address from description and store it in a variable
2. if customer does no exist then create customer using extracted email
3. set reporter with new customer
The problem is when creating a new customer then it takes around 10+ seconds until the customer is created (Atlassian: why does it take soo long ??)
When setting the reporter, the customer has not yet ben created and fails.
There is no way currently in automation to add a delay are wait until the customer has been created. Also multiple refetch don't help ...
So any suggestions using automation or do I have to implement the logic in Scriptrunner ???
Thanks
Peter
In absence of a delay function in Jira automation we have now implemented following solution with Automation and Scriptrunner.
If it the user does not exist as Servicedesk customer then
1. add new user as a customer to the servicedesk project using automation rule
- Add label create_user
2. Adding a Scriptrunner listener script
Check on create event if label create_user exist. if yes then
- wait 15 seconds until the customer has been created
- replace reporter with newly created Servicedesk customer
- delete label create_user and add label send_notification
4. Execute automation rule which listen on issue updated and label send_notification.
- send a specific create issue notification to the reporter
- remove tag send_notification
I am not very happy with this solution but since there was no feedback from the community nor Atlassian on this question - I assume this the the only way to go...
Hi @Peter Reiser ,
Please can you share the automation that you've created to handle this?
Also, what method are you using to create a new user via the automation.
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.