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

Zendesk enhancement #27101

Merged
merged 30 commits into from
Jun 22, 2023
Merged

Zendesk enhancement #27101

merged 30 commits into from
Jun 22, 2023

Conversation

Shellyber
Copy link
Contributor

@Shellyber Shellyber commented May 31, 2023

Status

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

Related Issues

fixes: https://jira-hq.paloaltonetworks.local/browse/CIAC-6450, https://jira-hq.paloaltonetworks.local/browse/CIAC-5638

Description

  • Added new commands
    • zendesk-group-user-list
    • zendesk-group-list
  • Updated Docker Image
  • Added new arguments: comment and html_comment to the zendesk-ticket-create command
  • Added new argument: html_comment to zendesk-ticket-update command
  • Added the group_id mapping to the incoming mapper -> mapped to Assignment Group incident field
  • Added new parameter to get_attachments in fetch-incidents

Does it break backward compatibility?

  • No

Must have

  • Tests
  • Documentation

@Shellyber Shellyber marked this pull request as ready for review June 7, 2023 11:13
Packs/Zendesk/Integrations/Zendeskv2/README.md Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/README.md Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/README.md Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/README.md Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/README.md Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.yml Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.yml Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.yml Outdated Show resolved Hide resolved
Packs/Zendesk/ReleaseNotes/2_0_7.md Outdated Show resolved Hide resolved
Packs/Zendesk/ReleaseNotes/2_0_7.md Outdated Show resolved Hide resolved
@ShirleyDenkberg
Copy link
Contributor

@ShahafBenYakir Doc review completed.

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.

Good job!

Packs/Zendesk/pack_metadata.json Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/README.md Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.py Outdated Show resolved Hide resolved
"""
attachments_ids = []
ticket_id = ticket['id']
comments_list = self._get_comments(ticket_id=ticket_id)
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we sure _get_comments returns a list? if so let's add return type tp the function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. tested it

Copy link
Contributor

Choose a reason for hiding this comment

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

This is still missing the return type

Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.py Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.py Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.py Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.py Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.yml Outdated Show resolved Hide resolved
Packs/Zendesk/Integrations/Zendeskv2/Zendeskv2.yml Outdated Show resolved Hide resolved
@content-bot
Copy link
Collaborator

This PR was automatically updated by a GitHub Action

  • Zendesk pack version was bumped to 2.0.8.

To stop automatic version bumps, add the ignore-auto-bump-version label to the github PR.

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.

Nice, see my two remaining comments

@Shellyber Shellyber merged commit 47112e2 into master Jun 22, 2023
13 of 15 checks passed
@Shellyber Shellyber deleted the st-zendesk-enhancement branch June 22, 2023 12:57
MosheEichler pushed a commit that referenced this pull request Jul 2, 2023
* First commit

* Added new command "zendesk-group-user-list"

* Update release notes

* Added html_comment to the create and update ticket + README updates

* Updated rn

* just a commit

* Added another command + updated TPB + Updated incoming mapper

* Added test + small fixes

* Remove comment

* flake8

* Fixed docs notes

* Update docker

* Bump pack from version Zendesk to 2.0.8.

* Some CR comments

* Fixed release notes version

* Fixed release notes version

* Fixed cr comments + updated image

* Fix tests

* -

* -

* Last comment

---------

Co-authored-by: Content Bot <bot@demisto.com>
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Jul 26, 2023
* First commit

* Added new command "zendesk-group-user-list"

* Update release notes

* Added html_comment to the create and update ticket + README updates

* Updated rn

* just a commit

* Added another command + updated TPB + Updated incoming mapper

* Added test + small fixes

* Remove comment

* flake8

* Fixed docs notes

* Update docker

* Bump pack from version Zendesk to 2.0.8.

* Some CR comments

* Fixed release notes version

* Fixed release notes version

* Fixed cr comments + updated image

* Fix tests

* -

* -

* Last comment

---------

Co-authored-by: Content Bot <bot@demisto.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants