We currently have a Jira Service management project set up that gets emails from another system and it generates issues. Currently every issue is listing the email address we configured on the other system as the reporter. In the description we have the actual customer's email and I am able to pull it from the description and populate it in a custom email field. The problem I am running into is when I try to make an automation rule that will take the email field and put its value in the reporter field. Currently I am getting the error in the audit logs for the automation rule:
(Specify a valid value for reporter (reporter))
Here is how I currently have the automation rule setup:
Any ideas or insight into this would be great. Thanks.
Hi @David B,
I think you need to use the Add Customer Action to add the email address as a customer, then try what you're doing.
Let me know how that goes.
Cheers,
Simeon.
Thanks for the response Simeon but that does not resolve the issue, it adds the customer but when I try to assign it to the reporter I am still getting the same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @David B
My apologies, I forgot to add the other important step. You cannot reference a user by email address. However, when we add a customer they are accessible via the smart value customer.
You can use this to get the account ID which will be accepted:
{{customer.accountId}}
I have just tested that and got it to work. Hopefully that should sort you out!
Cheers,
Simeon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Simeon -
You are amazing thank you. That seems to be working. Not sure if I need all of the re-fetch data calls but it gets me to where I need to go. I appreciate the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome mate, glad to hear that you got there!
Try it without them, I don't think you'll need them and all it is doing is putting unnecessary load on Jira!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've been trying the same. When I manually trigger the flow it does work but when I trigger it with the creation of an issue it doesnt work. Could you help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Team GoCredible -- Welcome to the Atlassian Community!
As this is quite an old thread, I recommend creating a new question and linking back to this one. That will ensure the most number of people see it to offer ideas.
When you create you question, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David B - this is similar to a problem we are trying to solve and looks like Simeon's solution could work for us too! Do you min sharing how you are pulling the customer's information from the "Description" and putting it into a custom field? I assume that is happening in your "Then: Edit issue fields" step with some regex?
Thanks!
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I use a smart value to pull the string from the description field and set email to it's value:
{{issue.description.substringBetween("email ", " ")}} is what I used, your mileage may vary.
https://support.atlassian.com/jira-software-cloud/docs/smart-values-text-fields/ is what I found invaluable for a reference to get what I wanted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @David B & @Simmo
I'm dealing with kinda the same issue as mentioned above, trying to "add a new customer" based off a custom field, and then set this customer as a reporter.
I didn't fully understand what should be configured within the last condition "edit issue filed reporter". @David B could you please share the workflow that worked for you? I see that @Simmo suggested the action {{customer.accountId}}, but it doesn't seem to work for me.
thanks!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Omer Joffe (MG) ,
Could you share a screenshot of your rule setup and where you're stuck?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for the quick reply @Simmo !
sure, please find it below.
quick overview -
The first condition adds a new member (if doesn't exist) -
The second condition is supposed to assign the customer from the first condition as a reporter instead of Splunk.
Audit log - "specify a valid value for reporter".
what am I missing? my goal is to assign the reporter based on either account name/email address.
thanks a lot.
Omer Joffe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In this case, the error is happening with the add customer action. A customer already exists with that email address, so we don't create one so the smart value doesn't work. Looks like you're testing this so try it with made up emails.
Cheers,
Simeon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Simmo
yeah, I know this customer already exists, but that's not the case, I've tried this rule many times with different emails and names, but still failing to assign a new reporter.
here is another test from this morning- a new customer was successfully created, but the reporter value doesn't seem to work (I'm using - {{customer.accountId}} as the new reporter value).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Omer Joffe (MG)
Can you raise a support ticket for this? You're doing the exact same thing that I am able to do successfully so I am not sure what is going on here. We'll need to dig into the problem to find out.
Cheers,
Simeon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Simmo ,
I created a ticket last week and it was already fixed by a Jira service management engineer. Thanks for your quick reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What was the Issue?
I have the same Error when i try to put in a email from an Interal user but it works for external Emails.
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.