Hi,
I have a free text field that is filled in with an email address.
I would like to check with Jira automation if the email is also a user in Jira, and if iit is, to change the reporter field according to this user.
I managed to update the reporter, but I could not find a way to verify that the email has a Jira account.
If the email does not have a Jira account. an error message pops up in the automation.
Please advise
As you mentioned, I am searching for an option to check if the email address matches a Jira use.
Thank you!
Hello @Orly Dahan
First addressing
If the email does not have a Jira account. an error message pops up in the automation.
You can't have a pop-up error message for an Automation rule. Automation rules by their nature are not interactive (excluding manually triggered rules which also allow for prompting for input). You could use a Log action to log a message to the Audit Log for the rule execution, but you can't pop-up a message for a user to see in real time.
I don't have an answer for how you can check if the email matches a Jira user. I don't think there is any automation action that you can use for that, unless you want to use the Send Web Request to access the Jira REST API to try to get the information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A quick check of Actions and Conditions available in Automation indicates there is no Automation function to check if an email matches a Jira user.
Have you investigated the Jira REST API?
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.
Can you share your solution details, to help other members of the community that might come across your post?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Of course.
First of all, this is actually not needed because in case a user exists in Jira, the collector updates automatically the reporter according to the updated email.
Please note that if you do need to check if an email has a jira permissions, I managed to do so through 2 web requests are needed:
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.