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
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,201 views 17 10
Join discussion

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