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

fixed a bug in service now #21955

Merged
merged 15 commits into from Nov 3, 2022
Merged

fixed a bug in service now #21955

merged 15 commits into from Nov 3, 2022

Conversation

omerKarkKatz
Copy link
Contributor

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: link to the issue

Description

There was a bug that closedNotes was in the place of closedReason and the there was no mirror in for the closedReson fixed the 2 issues.

Screenshots

Paste here any images that will help the reviewer

Minimum version of Cortex XSOAR

  • 6.0.0
  • 6.1.0
  • 6.2.0
  • 6.5.0

Does it break backward compatibility?

  • Yes
    • Further details:
  • No

Must have

  • Tests
  • Documentation

@omerKarkKatz omerKarkKatz marked this pull request as ready for review November 2, 2022 13:29
@omerKarkKatz omerKarkKatz requested a review from a team as a code owner November 2, 2022 13:29
Copy link
Contributor

@ShahafBenYakir ShahafBenYakir left a comment

Choose a reason for hiding this comment

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

cool


@pytest.mark.parametrize('ticket_state, expected_res', [('1', 'Other'),
('7', 'Resolved')])
def test_converts_state_close_reason(ticket_state, expected_res):
Copy link
Contributor

Choose a reason for hiding this comment

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

Add docstrings

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Packs/ServiceNow/ReleaseNotes/2_4_1.md Outdated Show resolved Hide resolved
Packs/ServiceNow/ReleaseNotes/2_4_1.md Outdated Show resolved Hide resolved
omerKarkKatz and others added 4 commits November 2, 2022 16:57
Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com>
Merge remote-tracking branch 'origin/master' into omer_servicenow_mirroring_bug
Merge branch 'omer_servicenow_mirroring_bug' of github.com:demisto/content into omer_servicenow_mirroring_bug
@@ -6,7 +6,8 @@


# disable insecure warnings
requests.packages.urllib3.disable_warnings()
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you add the specific exception?

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's just change it to:
urllib3.disable_warnings()

Co-authored-by: Shelly Tzohar <45915502+Shellyber@users.noreply.github.com>
@xsoar-bot
Copy link
Contributor

@omerKarkKatz omerKarkKatz merged commit 37dff2d into master Nov 3, 2022
@omerKarkKatz omerKarkKatz deleted the omer_servicenow_mirroring_bug branch November 3, 2022 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants