Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Set a field value based on the reporters domain - Automation


We receive issues from reporters from various domains.

We have field called Company and need to create an automation that sets the this field to a value based on their domain when the issue is created.

For example if their domain is then the Company field would be set to ABC.

Any help is appreciated.


2 answers

1 accepted

0 votes
Answer accepted
Laurens Coppens Community Leader Mar 04, 2021


I'm afraid this won't work with automation because of its limitations.

You can't run groovy scripts or do a lookup on domain.

I think the best way to do this would be to run a groovy script with scriptrunner on the create transition of the workflow that copies the values of the users email address from after the @ till before the .


Hope this points you in the right direction.



Thanks for your help

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,579 views 20 12
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