Hello,
I have created a new custom field named "company" which will be a hidden field to customers. What I am wanting to do is setup a rule that will set "company" to a specified value, based on users in an organization. So for example, if user is from X organization, I want to auto-populate the "company" field to be "company X name"
Any help is appreciated.
Thank you
Hello @Joe Murphy,
Thank you for reaching out to Atlassian Community!
Testing on my local site, I found an automation rule that might help you. In this case, would be based on the customer’s email domain.
If on your project the customers from, for example, @company.com are added to the organization Company, then I believe it should be helpful.
In this automation, when the issue is created, then two fields will be edited: the organization and another field, in your case, you can select the “Company” field. It works if the customer has shared or not the issue with the Org and if they don’t belong to one, it will be created.
On “Choose fields to set…” select Organizations and Company.
For Organizations, select “Use reporter’s e-mail domain” and for the Company field add the smart value:
{{reporter.emailAddress.substringAfter("@").substringBefore(".")}}
This is the result:
If it doesn’t help, please, let us know more information about your use case, so we can check if there is a workaround.
Kind regards,
Angélica
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.