I have an email form that comes into service desk. Using automation, I am parsing the email out and want to use it as the reporter. Currently, I can use the "Add service project customer" to create the customer and then assign them as the reporter. However, if the customer already exists, the call fails and I do not have the accountId.
How do I get the accountId of an existing customer via email to use in automation?
Hey @Brett Park and @Chris I recently found an article that @Bruno Altenhofen from Atlassian wrote describing exactly how to get a accountID based on email, using the Web Request functionality of Automation:
The tricky thing in your case @Brett Park is then using the above to see if the user already exists. I guess you could use a "Compare two values" condition and check if {{webhookResponses.first.body.accountId}} does not equal Empty.
I just tested this and it seems to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Brett Park ,
HEre's a similar post asking the same question:
You will need to use Jira Cloud API to retrieve the info you are looking for.
-Ben
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.
There's add on in Jira Cloud that can help with automating the parsing. For example, JEMH.
Just to take a step back. Doesn't the e-mail handler for the service desk already handle this. When an e-mail is sent to the service desk e-mail, it should parse the sender e-mail as the reporter as long as you have turn on public sign up.
https://confluence.atlassian.com/servicemanagementserver/receiving-requests-by-email-939926303.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have a form that always sends from the same email address, but the actual sender's email is contained within the content. We need to check if that email has an account, and retrieve or create. ... the ability to create an account without knowing if one exists seems kind of like a pointless automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Brett, did you ever get an answer to this? I have a very similar situation and all I can find are solutions of people asking why you don't do it a different way (that is not possible because the email is just text in an issue description).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.