Email From on Project-Specific Basis?

I'm currently changing the email settings for our JIRA instance. I noticed in the Administration section under system that the syntax for "Email From" is defaulted to ${fullname} (JIRA). I'm assuming the ${fullname} populates with the name of whichever user triggered an event that sent an email - for instance, if we have a JETI template post function on a workflow transition, the fullname replacement variable will populate with whoever clicked the transition. My question is, is it possible to change this setting on a project-specific basis? For example, is it possible to have all emails sent from a specific project sent by one defined user, no matter which user triggers the email? 

 

1 answer

Hi Kenneth,

Yes, this is possible.

In you JETI config, you must have Contexts setup. In the contexts, you can find attributes called "From Address" and "Sender Name".

 

Now you have two options:

  1. Create a separate context for your projects and configure from address, sender name with the values for the projects
  2. If you do not have many projects, you can configure a single context and use Velocity Markup in the From Address and Sender Name, like:
    #if("ABC".equals($!issue.projectObject.key))abc@domain.com#elseif ("DEF".equals($!issue.projectObject.key))def@domain.com... #end
  3. You can configure project specific sender names

Tibor

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

464 views 2 5
View question

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