Where in the database is a project's "send mail from" address recorded?

DavidM February 2, 2015

We just changed the default "send mail from" address, so I want to easily see whether there are any projects that are using a non-default address. We have several hundred projects, and I don't want to visit all of them.

 

Update: Thanks to Boris's answer, I determined this query:

 

SELECT pname, propertyvalue 
FROM propertyentry
  JOIN propertystring USING (ID) JOIN project ON ENTITY_ID = project.ID
WHERE PROPERTY_KEY = 'jira.project.email.sender' AND propertyvalue IS NOT NULL

1 answer

1 accepted

2 votes
Answer accepted
Boris Berenberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 2, 2015

You will need to join the propertyentry, propertystring, and project tables to get this. The PROPERTY_KEY will be:

jira.project.email.sender

DavidM February 2, 2015

Exactly what I wanted. Thanks!

Suggest an answer

Log in or Sign up to answer