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

Add default filter to retrieve tickets from the past week for Get-AzSupportTickets and Get-AzSupportTicketsNoSubscription #10

Merged

Conversation

grhuangmsft
Copy link
Owner

@grhuangmsft grhuangmsft commented Mar 15, 2024

Description

Add default filter to retrieve all tickets created in the past week for Get-AzSupportTicket and Get-AzSupportTicketsNoSubscription if no parameters are specified

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • For autorest-based development mode, include the changelog in the PR description.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@grhuangmsft grhuangmsft changed the title Users/grhuang/get default filter Add default filter to retrieve tickets from the past week for Get-AzSupportTickets and Get-AzSupportTicketsNoSubscription Mar 15, 2024
@grhuangmsft grhuangmsft marked this pull request as ready for review March 15, 2024 17:15
Copy link

@raghumunukutla raghumunukutla left a comment

Choose a reason for hiding this comment

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

approved

@grhuangmsft grhuangmsft merged commit 112512e into users/grhuang/azsupport-autorest Mar 15, 2024
grhuangmsft added a commit that referenced this pull request Apr 26, 2024
…upportTickets and Get-AzSupportTicketsNoSubscription (#10)

* add custom filtering for list support ticket if no filter is applied
grhuangmsft added a commit that referenced this pull request Apr 26, 2024
commit 5363e1e
Author: grhuangmsft <[email protected]>
Date:   Thu Apr 25 17:22:02 2024 -0400

    Rerecord tests using GA version (#14)

    * add tests for file size (will add recordings once Ga swagger available)

    * Regenerate powershell module with GA swagger

    * Rerecord tests with GA version

commit 6f2684b
Author: grhuangmsft <[email protected]>
Date:   Thu Apr 25 17:14:36 2024 -0400

    Regenerate powershell module with GA swagger (#13)

commit c6b7740
Author: grhuangmsft <[email protected]>
Date:   Fri Mar 22 15:01:29 2024 -0400

    Add argument completer (#12)

    * add argument completers

    * add quotes to argument completers

    * remove repeated time zone

commit 9e778f0
Author: grhuangmsft <[email protected]>
Date:   Tue Mar 19 12:46:56 2024 -0400

    make transformations in swagger in readme to make enrollment id not readonly and show isTempTicket (#11)

commit 112512e
Author: grhuangmsft <[email protected]>
Date:   Fri Mar 15 13:57:36 2024 -0400

    Add default filter to retrieve tickets from the past week for Get-AzSupportTickets and Get-AzSupportTicketsNoSubscription (#10)

    * add custom filtering for list support ticket if no filter is applied

commit 615e1c5
Author: grhuangmsft <[email protected]>
Date:   Fri Mar 15 13:56:38 2024 -0400

    Add custom error handling for New- and Update- cmdlets to print full details of error (#9)

    * Add custom error handler

commit 8e5227f
Merge: 1e7f414 06323ee
Author: grhuangmsft <[email protected]>
Date:   Thu Mar 14 14:37:13 2024 -0400

    Merge pull request #6 from grhuangmsft/users/grhuang/update-tests

    Update tests

commit 1e7f414
Merge: da3c0a6 4600eba
Author: grhuangmsft <[email protected]>
Date:   Tue Mar 12 17:19:20 2024 -0400

    Merge pull request #8 from grhuangmsft/users/grhuang/documentation-and-nosubfixes

    Update table formatting, parameter aliasing, documentation

commit 4600eba
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Mar 12 12:58:59 2024 -0400

    make advanced diagnostic consent required

commit 862ddd7
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Mon Mar 11 13:44:36 2024 -0400

    add directive back in

commit 4f2e4bc
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Mon Mar 11 13:34:34 2024 -0400

    update documentation and readme

commit 06323ee
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Mar 8 17:35:01 2024 -0500

    add more examples to new-azsupportticket documentation

commit 2362e86
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Mar 8 12:28:08 2024 -0500

    update recordings

commit ff79587
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Mar 8 12:28:00 2024 -0500

    Update recordings

commit d7835cf
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Mar 7 18:38:37 2024 -0500

    update skip

commit d953d52
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Mar 7 16:58:49 2024 -0500

    init add changes to split subscription and no subscription tests

commit 68944c1
Merge: 7643b1c da3c0a6
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Mar 7 15:37:46 2024 -0500

    Merge branch 'users/grhuang/azsupport-autorest' into users/grhuang/update-tests

commit da3c0a6
Merge: de3fcf5 ef100cc
Author: grhuangmsft <[email protected]>
Date:   Thu Mar 7 14:48:53 2024 -0500

    Merge pull request #5 from grhuangmsft/users/grhuang/azsupport-autorest-feature

    Make communication and support ticket properties required in readme

commit ef100cc
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Mar 7 14:46:52 2024 -0500

    remove custom error handler csharp

commit 7643b1c
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Mar 7 14:43:21 2024 -0500

    changes to not create new resources in playback

commit eec230e
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Mar 7 13:36:41 2024 -0500

    init changes to allow no subscription recording tests-need to use csp partner account in tenant 2e6a0c9f-986d-480e-ad4b-bdfddc047aba

commit 962bda3
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Mar 6 16:50:11 2024 -0500

    consolidate list and get communicationsnosubscription and chattranscriptsnosubscription

commit 8a00ab3
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Mar 6 14:57:04 2024 -0500

    add custom error handler

commit cc100ad
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Mar 5 15:33:47 2024 -0500

    fix top query

commit 4f79e30
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Mar 5 11:25:21 2024 -0500

    fix documentation

commit 194a139
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Mar 5 11:16:32 2024 -0500

    make communiation and support ticket properties required in readme, edit get operation file name, edit calling internal cmdlets for file upload

commit de3fcf5
Merge: 762b446 1a21b88
Author: grhuangmsft <[email protected]>
Date:   Mon Feb 26 09:49:47 2024 -0500

    Merge pull request #4 from shreyakumar3093/users/shreyakumar/grhuang/azsupport-autorest

    Users/shreyakumar/grhuang/azsupport autorest

commit 1a21b88
Author: Shreya Kumar <[email protected]>
Date:   Fri Feb 23 15:01:24 2024 -0800

    removed update communication sub and no sub scenarios , updated readme

commit 1a32d3b
Author: Shreya Kumar <[email protected]>
Date:   Fri Feb 23 14:52:49 2024 -0800

    Revert "removed update communication sub and no sub scenarios"

    This reverts commit ccbfdee.

commit ccbfdee
Author: Shreya Kumar <[email protected]>
Date:   Fri Feb 23 14:44:43 2024 -0800

    removed update communication sub and no sub scenarios

commit b59b1ff
Author: Shreya Kumar <[email protected]>
Date:   Fri Feb 23 14:19:15 2024 -0800

    resolved merge conflict

commit 0d18131
Merge: 3bad989 762b446
Author: Shreya Kumar <[email protected]>
Date:   Fri Feb 23 14:17:38 2024 -0800

    Merge branch 'users/grhuang/azsupport-autorest' into users/shreyakumar/grhuang/azsupport-autorest

commit 3bad989
Author: Shreya Kumar <[email protected]>
Date:   Fri Feb 23 14:17:18 2024 -0800

    get conflict file changes from grhuang/azsupport-autorest

commit 39253ec
Author: Shreya Kumar <[email protected]>
Date:   Fri Feb 23 14:05:06 2024 -0800

    resolved PR comments

commit 7ddff6c
Author: Shreya Kumar <[email protected]>
Date:   Thu Feb 22 14:26:45 2024 -0800

    resolve merge conflicts

commit 6bcf34e
Author: Shreya Kumar <[email protected]>
Date:   Wed Feb 21 23:33:43 2024 -0800

    added examples for operations, support ticket, communication and chat transcript cmdlets

commit 79208ba
Author: Shreya Kumar <[email protected]>
Date:   Wed Feb 21 23:16:57 2024 -0800

    added tests and documentation for operations, support ticket, communication and chat transcript cmdlets

commit 762b446
Merge: 7bdc9aa 3851a1d
Author: grhuangmsft <[email protected]>
Date:   Fri Feb 16 14:35:41 2024 -0500

    Merge pull request #2 from grhuangmsft/users/grhuang/azsupport-autorest-feature

    Documentation for file workspace, file, check name availability, service, problem classification cmdlets for subscription and no subscription scenarios

commit 3851a1d
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Feb 13 10:15:21 2024 -0500

    documentation for checkNameAvailability

commit c41fec4
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Feb 9 11:26:32 2024 -0500

    documentation for file/file workspace cmdlets

commit 5878a49
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Feb 8 11:36:45 2024 -0500

    documentation for file workspace commands

commit 54c1f1d
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Feb 7 17:13:09 2024 -0500

    add titles

commit 452e2d0
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Feb 7 16:27:17 2024 -0500

    problem classification docs

commit 913b1bb
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Feb 7 15:52:53 2024 -0500

    docs for get support service

commit 7bdc9aa
Merge: 6a3baa3 60b7341
Author: grhuangmsft <[email protected]>
Date:   Tue Feb 6 17:47:14 2024 -0500

    Merge pull request #1 from grhuangmsft/users/grhuang/azsupport-autorest-feature

    Users/grhuang/azsupport autorest feature

commit 60b7341
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Feb 1 17:36:50 2024 -0500

    remove unnecessary comments and print statements

commit f4e7b8e
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Feb 1 16:08:56 2024 -0500

    erroraction stop

commit 683579a
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Jan 31 15:51:47 2024 -0500

    tests for get file

commit 5332d08
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Jan 31 13:17:45 2024 -0500

    remove new files no subscription

commit 1313bdc
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Jan 31 13:05:55 2024 -0500

    add tests for new file and upload, removefile name as a parameter

commit f41fe6c
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Jan 30 12:24:40 2024 -0500

    more tests

commit 41e373b
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Jan 30 10:33:47 2024 -0500

    tests for get file workspace

commit 1d8bed2
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Mon Jan 29 16:26:37 2024 -0500

    tests for new file workspace

commit d19fb89
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Mon Jan 29 10:13:06 2024 -0500

    try adding erroractionpreference = stop

commit b1b98b7
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Jan 26 15:45:46 2024 -0500

    tests for problem classification

commit 9715b15
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Jan 26 14:58:58 2024 -0500

    tests for get service

commit ec6d597
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Jan 24 10:53:58 2024 -0500

    remove update files and add alias for nosubscription file commands

commit ef75f6b
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Jan 24 10:00:02 2024 -0500

    add name as alias for fileworkspacename fileworkspacesnosubscription

commit 487bef6
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Jan 23 16:09:50 2024 -0500

    add back workspace commands

commit 276498c
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Jan 23 16:02:34 2024 -0500

    hide individual file commands

commit b953811
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Jan 23 15:23:32 2024 -0500

    autogen docs for no sub file upload

commit a5b213d
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Jan 23 15:13:22 2024 -0500

    custom no subscription file upload commands

commit 5dea32a
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Jan 23 15:07:24 2024 -0500

    fix cmd

commit a22e254
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Jan 23 15:01:56 2024 -0500

    remove comments from combined cmd for file

commit 1f7f741
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Tue Jan 23 14:33:24 2024 -0500

    separate subscription and no subscription commands

commit a7546e4
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Jan 19 17:21:37 2024 -0500

    no default value for subid in custom file upload

commit f414931
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Jan 19 15:02:20 2024 -0500

    edit custom file upload command to not use default subscriptionid

commit 69b3443
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Jan 19 14:51:39 2024 -0500

    combined cmdlets

commit 07ace3d
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Jan 19 10:55:33 2024 -0500

    add error for custom cmdlet when file too big

commit e2cc76e
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Wed Jan 17 16:11:36 2024 -0500

    chunking logic for larger files

commit c2e620c
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Jan 12 17:14:10 2024 -0500

    add custom cmdlet for creating and uploading the file

commit 1b15859
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Thu Jan 11 14:14:58 2024 -0500

    correct readme to include file workspace create

commit 6a3baa3
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Mon Dec 18 16:03:13 2023 -0500

    add customization for filedetails

commit cf8e4ac
Author: Grace Huang (from Dev Box) <[email protected]>
Date:   Fri Dec 1 14:23:00 2023 -0500

    init add powershell cmdlet
grhuangmsft added a commit that referenced this pull request Apr 26, 2024
…upportTickets and Get-AzSupportTicketsNoSubscription (#10)

* add custom filtering for list support ticket if no filter is applied
grhuangmsft added a commit that referenced this pull request May 8, 2024
* init add powershell cmdlet

* add customization for filedetails

* correct readme to include file workspace create

* add custom cmdlet for creating and uploading the file

* chunking logic for larger files

* add error for custom cmdlet when file too big

* combined cmdlets

* edit custom file upload command to not use default subscriptionid

* no default value for subid in custom file upload

* separate subscription and no subscription commands

* remove comments from combined cmd for file

* fix cmd

* custom no subscription file upload commands

* autogen docs for no sub file upload

* hide individual file commands

* add back workspace commands

* add name as alias for fileworkspacename fileworkspacesnosubscription

* remove update files and add alias for nosubscription file commands

* tests for get service

* tests for problem classification

* try adding erroractionpreference = stop

* tests for new file workspace

* tests for get file workspace

* more tests

* add tests for new file and upload, removefile name as a parameter

* remove new files no subscription

* tests for get file

* erroraction stop

* remove unnecessary comments and print statements

* docs for get support service

* problem classification docs

* add titles

* documentation for file workspace commands

* documentation for file/file workspace cmdlets

* documentation for checkNameAvailability

* added tests and documentation for operations, support ticket, communication and chat transcript cmdlets

* added examples for operations, support ticket, communication and chat transcript cmdlets

* resolve merge conflicts

* resolved PR comments

* get conflict file changes from grhuang/azsupport-autorest

* resolved merge conflict

* removed update communication sub and no sub scenarios

* Revert "removed update communication sub and no sub scenarios"

This reverts commit ccbfdee.

* removed update communication sub and no sub scenarios , updated readme

* make communiation and support ticket properties required in readme, edit get operation file name, edit calling internal cmdlets for file upload

* fix documentation

* fix top query

* add custom error handler

* consolidate list and get communicationsnosubscription and chattranscriptsnosubscription

* init changes to allow no subscription recording tests-need to use csp partner account in tenant 2e6a0c9f-986d-480e-ad4b-bdfddc047aba

* changes to not create new resources in playback

* remove custom error handler csharp

* init add changes to split subscription and no subscription tests

* update skip

* Update recordings

* update recordings

* add more examples to new-azsupportticket documentation

* update documentation and readme

* add directive back in

* make advanced diagnostic consent required

* Add custom error handling for New- and Update- cmdlets to print full details of error (#9)

* Add custom error handler

* Add default filter to retrieve tickets from the past week for Get-AzSupportTickets and Get-AzSupportTicketsNoSubscription (#10)

* add custom filtering for list support ticket if no filter is applied

* make transformations in swagger in readme to make enrollment id not readonly and show isTempTicket (#11)

* Add argument completer (#12)

* add argument completers

* add quotes to argument completers

* remove repeated time zone

* Regenerate powershell module with GA swagger (#13)

* Rerecord tests using GA version (#14)

* add tests for file size (will add recordings once Ga swagger available)

* Regenerate powershell module with GA swagger

* Rerecord tests with GA version

* Fix documentation

* fix url for file upload

---------

Co-authored-by: Grace Huang (from Dev Box) <[email protected]>
Co-authored-by: grhuangmsft <[email protected]>
Co-authored-by: Shreya Kumar <[email protected]>
Co-authored-by: Yunchi Wang <[email protected]>
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.

2 participants