Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug/WP-319: Fix email confirmation for tickets #879

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

jarosenb
Copy link
Collaborator

@jarosenb jarosenb commented Oct 9, 2023

Overview

The rtpy documentation is misleading: https://python-rt.readthedocs.io/en/latest/rest1.html#rt.rest1.Rt.create_ticket

Specifying "Requestors" instead of "Requestor" as we've been doing causes the requestors to be added AFTER ticket creation, meaning no one gets an email confirmation.

Related

Changes

  • pass Requestor instead of Requestors to the create_ticket util.

Testing

  1. Submit a ticket through the portal and check that you get a confirmation email.

@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

Merging #879 (c4f2258) into main (e47ea96) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #879   +/-   ##
=======================================
  Coverage   63.44%   63.44%           
=======================================
  Files         427      427           
  Lines       12215    12215           
  Branches     2510     2510           
=======================================
  Hits         7750     7750           
  Misses       4259     4259           
  Partials      206      206           
Flag Coverage Δ
javascript 69.67% <ø> (ø)
unittests 57.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
server/portal/apps/tickets/rtUtil.py 30.95% <ø> (ø)

Copy link
Collaborator

@chandra-tacc chandra-tacc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chandra-tacc
Copy link
Collaborator

good find. I tested it and I got email confirmation.

@rstijerina rstijerina merged commit d7a003e into main Oct 10, 2023
6 checks passed
@rstijerina rstijerina deleted the bug/WP-319--rt-email-confirmation branch October 10, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants