Skip to content

Commit

Permalink
Was looking for Owner email in the wrong place.
Browse files Browse the repository at this point in the history
Changed by setting the email to ${/#miq_request.get_option(:owner_email)} instead of ${/#miq_request.requester.email}. in three email yams files.
The Infra was changed in previous PR #484

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1672690

@miq-bot add_label bug
@miq-bot assign @tinaafitz
  • Loading branch information
billfitzgerald0120 committed Apr 8, 2020
1 parent d395ff7 commit 031023c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Expand Up @@ -9,10 +9,10 @@ object:
description:
fields:
- subject:
value: Request ID ${/#miq_request.id} - Instance Request from ${/#miq_request.requester.email}> was
Approved, pending Quota Validation.
value: Request ID ${/#miq_request.id} - Instance Request from ${/#miq_request.get_option(:owner_email)}
was Approved, pending Quota Validation.
- body:
value: 'Approver, <br/><br/>An Instance Request received from ${/#miq_request.requester.email}
value: 'Approver, <br/><br/>An Instance Request received from ${/#miq_request.get_option(:owner_email)}
was Approved.<br><br>Approvers reason : ${/#miq_request.reason}<br/><br/>To
view this Request go to : <a href=${/#miq_request.show_url}>${/#miq_request.show_url}</a><br/><br/>
Thank you,<br/> ${#signature}'
Expand Up @@ -9,10 +9,10 @@ object:
description:
fields:
- subject:
value: Request ID ${/#miq_request.id} - Instance Request from ${/#miq_request.requester.email}
value: Request ID ${/#miq_request.id} - Instance Request from ${/#miq_request.get_option(:owner_email)}
was Denied.
- body:
value: 'Approver, <br/><br/>An Instance Request received from ${/#miq_request.requester.email}
value: 'Approver, <br/><br/>An Instance Request received from ${/#miq_request.get_option(:owner_email)}
was Denied.<br/><br/>${/#miq_request.resource.message}.<br/><br/>Approvers
notes : ${/#miq_request.reason}<br/><br/>For more information you can go to
: <a href=${/#miq_request.show_url}>${/#miq_request.show_url}</a><br/><br/>
Expand Down
Expand Up @@ -9,10 +9,10 @@ object:
description:
fields:
- subject:
value: Request ID ${/#miq_request.id} - Instance Request from ${/#miq_request.requester.email}
value: Request ID ${/#miq_request.id} - Instance Request from ${/#miq_request.get_option(:owner_email)}
Pending Approval.
- body:
value: 'Approver, <br/><br/>An Instance Request received from ${/#miq_request.requester.email}
value: 'Approver, <br/><br/>An Instance Request received from ${/#miq_request.get_option(:owner_email)}
is Pending.<br/><br/>${/#miq_request.resource.message}.<br/><br/>Approvers
notes : ${/#miq_request.reason}<br/><br/>For more information you can go to
: <a href=${/#miq_request.show_url}>${/#miq_request.show_url}</a><br/><br/>
Expand Down

0 comments on commit 031023c

Please sign in to comment.