Skip to content

Email Notification Templates

Skye Shaw edited this page Apr 15, 2018 · 7 revisions

Notifications are currently only supported for upload jobs.

Notifications allow one to configure emails that will be sent when an upload job completes. The subject and message fields of these notifications can contain ERB. See the below table for the supported variables.

The variables are not Ruby instance variables, so you must not prefix them with the @.

I.e., do this:

Job number: <%= job_id %>  

Not this:

Job number: <%= @job_id %>  
Variable Type Description
job_id String Job id
job_target String Job target, varies based on the job type
job_package_path String Absolute path to the package, if the job contains one
job_type String The type of job, one of lookup, providers, schema, status, upload, verify, version
job_state String Job state, one of queued, running, success, failure
job_created Time Time the job was created
job_completed Time Time the job finished
account_username String Username of the package's iTunes Connect account
account_shortname String Shortname of the package's iTunes Connect account (can be nil)
account_itc_provider String iTunes Connect provider name of the package's iTunes Connect account (can be nil)
email_to Array Recipient email addresses
email_from String Sender's email address
email_reply_to String Reply to email address (can be nil)
Clone this wiki locally