Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Changing the reporter field with a smart value and keep getting an error

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:

Image 14.jpg

Any ideas or insight into this would be great. Thanks.

2 answers

1 accepted

1 vote
Answer accepted
Simeon Ross Atlassian Team May 19, 2021

Hi @David Bohli,

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.

Image 15.jpgImage 16.jpg

Simeon Ross Atlassian Team May 20, 2021

Hi @David Bohli

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}}

create.png

I have just tested that and got it to work. Hopefully that should sort you out!

 

Cheers,

Simeon

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.

Capture.JPG

Simeon Ross Atlassian Team May 20, 2021

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!

@David Bohli - 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

@Matt Adorjan -

I use a smart value to pull the string from the description field and set email to it's value:

Screenshot 2021-05-24 101611.png

{{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.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

238 views 0 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you