Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation for Organizations: smart values and custom field auto fill

Jarosław Kaczmarek
Contributor
July 8, 2022

Hi

In our Cloud instance, we are trying to somehow populate a custom field based on the requester's the organization/domain name.
I've read through this topic https://community.atlassian.com/t5/Jira-Service-Management/Smart-value-for-Organization/qaq-p/1395197 and the smart value 

{{issue.Organizations.first.name}}

works on the condition that the field "Organizations" is filled in. But we have banned this field since using it has unintended consequences (i.e. if it is filled in, it automatically shares the request with the said organization, regardless of global settings).

Is there a method or smart value that will either pull the organization's name or requester's domain and put it into the custom field? There is definitely a mechanism that recognized someone belonging to an organization without the organizations field being filled in ("reporter is in organization X" method).

1 answer

0 votes
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 8, 2022

Hi @Jarosław Kaczmarek 

You could use something like this:

{{issue.reporter.email.substringAfter("@")}} 

Suggest an answer

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

Upcoming Jira Service Management Events