Forums

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

Custom field email to reporter field

Robin Stemmers
Contributor
September 8, 2023

Hello Jira Boffens.

I have read a few posts, but I am not getting the answer.

I have a text field that captures an email address name.surname@email.com

I would like to update the Reporter field for that user.

EG if Field 1 contains email ...@email.com then update Reporter field.

My automation runs, but then the audit report says the user is inactive when the user is a valid active user.user Inactive.png

I hope my query is clear

 

 

1 answer

0 votes
Marcus Jones
Community Champion
September 8, 2023

Hi Robin, 

I ran into this as well and found that I needed to go and add the user to the project customer list before they would be able to be the reporter. In my case, dealing with external customers it can change so in my automation that catches that. Basically the first part adds the user to the reporter field, and the second part does a re-fetch and checks the reporter field. If the reporter field is empty I know the previous action failed so then I add the user as a new customer and set the reporter field again. 

~Hope that makes sense :)

AddCustomer.png

Robin Stemmers
Contributor
September 9, 2023

Hi @Marcus Jones 

It makes sense, however the names I am testing with are Active customers on the portal.

I will test your way though and see if it works

Robin Stemmers
Contributor
September 9, 2023

Hello @Marcus Jones 

 

I have tried this method, it didn't work.

I have deleted the user from the portal and it still didn't work.

user Inactive_2.png

Mark Higgins
Community Champion
September 10, 2023

Hi Robin,

Is it possible that the person triggering the rule, does not have Edit Permissions, and Modify Reporter permission?

If the auto bot is triggering then, ignore this.

Mark

Robin Stemmers
Contributor
September 10, 2023

Hi @Mark Higgins 

Thanks for the update.

Both users I tested with are Site Owners.

I also deleted a name and let the rule run, but still no luck.

Mark Higgins
Community Champion
September 10, 2023

Hi Robin,

Site owners are now the people who add users and billing? 

They may not have permissions in your project?

If you look at the roles inside your project, and then at the permissions to Edit and Modify Reporter, are those people in a group, or role, that have been allocated those permissions?

Eg:

Modify Reporter
Ability to modify the reporter when creating or editing an issue.
  • Project Role (Administrators)
  • Project Role (atlassian-addons-project-access)
  • Project Role (Service Desk Team)
  • Service Project Customer - Portal Access
Robin Stemmers
Contributor
September 12, 2023

Hello @Mark Higgins 

Project Permissions.pngI have checked the permissions - they seem correct.  I also made sure that the names are in the groups.

Mark Higgins
Community Champion
September 12, 2023

Hi Robin, 

I'm going to dig a little deeper. 

To allow someone to be added to the reporter field, the person doing this needs Modify Reporter permission and Edit permission, and the person you are assigning to the reporter field. needs to have access to your project.

You seem to have ticked all these boxes.

Does the rule work, if you assign it to an internal user?

Cheers

Mark

Like Robin Stemmers likes this
Mark Higgins
Community Champion
September 12, 2023

Hi Robin,

A collegue of mine, just sent me this, which got me thinking about your challenge, and if Jira doesn't believe the user exists?

 

https://confluence.atlassian.com/jirakb/how-to-add-jira-service-management-customers-automatically-to-organisation-based-on-reporter-email-domain-1142450886.html

 

Mark

Robin Stemmers
Contributor
September 12, 2023

Hello @Mark Higgins 

To answer on your previous comment, I am testing with internal users only. This rule will not be for external parties.

Also, I went through that confluence link above. It is not working either. It does not create a new organisation either.

 

This would have been nice if it could work.

I will keep trying though

Like Mark Higgins likes this

Suggest an answer

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

Atlassian Community Events