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
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

173 views 0 6
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