Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation to populate reporter

Alexandra Astor
Contributor
February 7, 2023

Our team has a shared email that is used for submitting tickets into the Jira Service Management project.  As a result, the name of the Reporter is always the name that is associated with that shared email.  Is it possible to use automation to populate the Reporter field with the name of the actual reporter from their email address that is listed in the description field or the summary field?

1 answer

1 vote
Vamsi Kandala
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 7, 2023

Hi @Alexandra Astor

Yes, you can create an automation rule to trigger whenever an issue is created and edit the reporter field with the email address mentioned in the Summary.

After updating the reporter field, you can choose to remove the email address from the Summary.

You can use smart values as listed here:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/

Hope this helps.

Thanks,
Vamsi

Alexandra Astor
Contributor
February 7, 2023

Thank you!  Both the summary and description fields have other information listed in them, is it possible to have the automation find the email?  Here is an example of how it comes in.

Capture.PNG

Vamsi Kandala
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 7, 2023

Hi @Alexandra Astor

Yes.  If the email address always follows 'Email: ' in the Summary field, you can use the 'substringAfter()' method to extract the value.

In your case, you can try '{{summary.substringAfter("Email: ")}}'

First, try and check whether the value is getting extracted successfully by using the log action in the automation rule.

Thanks,
Vamsi

Alexandra Astor
Contributor
February 7, 2023

Thank you!  I tried this and now the Reporter name is coming in as Anonymous.  I also checked that the email address is associated with the Atlassian account and it is.

Here is the audit log:

Capture.PNG

Vamsi Kandala
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 7, 2023

Hi @Alexandra Astor

Can you please send me the screenshot of your automation rule and how you are assigning the value for reporter field?

Thanks,
Vamsi

Alexandra Astor
Contributor
February 8, 2023

Sure!  Here it is:

Capture.PNG

Alexandra Astor
Contributor
February 10, 2023

@Vamsi Kandala Happy Friday - Just checking in to see if you have had a chance to look at the automation rule I posted above.  Thanks!

Vamsi Kandala
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2023

Hi @Alexandra Astor

Happy Friday.

Sorry, I am still checking on this and testing at my end.  Will update you soon if I find anything.

Regards,

Vamsi

Alexandra Astor
Contributor
February 13, 2023

Thanks so much!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events