How to set a custom field based on another field?

I want to update a custom field (based on User Group) based on Requestor's email address domain... i.e. if john@abc.com creates a ticket then custom field (Customer) is set to ABC. Is there any way to achieve this?

3 answers

how about using the "Set a field as a function of other fields " postfunction on the create issue transition?

you can choose the field that hast to be set (Customer)  and check another field using regex for it's value (Requestor's email address).

if the email adress for example is like abc you can set the field Customer to ABC.

 

Edit: Forgot to mention that the postfunctions is from "JIRA Workflow Toolbox" AddOn

Hello,

Probably it would be worth trying nFeed. It allows to build fields whose value are dependent on other issue fields.

Thanks - I found that JIRA Cloud now introduces the concept of Organisations for the customers and that's exactly what I wanted to achieve but I was using the Self hosted version which still doesn't include this feature. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

495 views 6 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you