The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

DavidM
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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
Contributor
February 2, 2015

Exactly what I wanted. Thanks!