Release JumpCloud PowerShell Module v3.1.0#740
Merged
Conversation
…rgroups , /api/v2/policyGroups depending on the type passed in
…et-JcSdkPolicyGroup, New-JcSdkPolicyGroup, Remove-JcSdkPolicyGroup, Get-JcSdkPolicyGroupMember, Set-JcSdkPolicyGroupMember
…heJumpCloud/support into CUT-5114_regImportUpdateDataType
This reverts commit bd3622a.
…aType Cut 5114 reg import update data type
Update Connect-JCOnline to support staging
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 7d20dfc. Configure here.
| PESTER_PROVIDER_ID: ${{ secrets.PESTER_PROVIDER_ID }} | ||
| run: | | ||
| Set-Variable -Name PesterParams_ApiKeyMsp -Value "$env:PESTER_MSP_APIKEY" -Scope Global | ||
| Set-Variable -Name PESTER_ORGID -Value "$env:PESTER_MSP_ORGID" -Scope Global |
There was a problem hiding this comment.
CI references undefined environment variable for MSP org
High Severity
The Set-Variable on this line reads $env:PESTER_MSP_ORGID, but no environment variable named PESTER_MSP_ORGID is defined in the env: block. The block defines PESTER_ORGID (mapped to secrets.PESTER_MSP_ORGID), PESTER_APIKEY, PESTER_MSP_APIKEY, and PESTER_PROVIDER_ID. This means the PESTER_ORGID global variable will be set to an empty string, which could cause MSP test failures.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 7d20dfc. Configure here.
jworkmanjc
approved these changes
May 12, 2026
gweinjc
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Issues
What does this solve?
Is there anything particularly tricky?
How should this be tested?
Connect-JCOnlinesupports the new Staging environment.Note
Medium Risk
Moderate risk: introduces new SDK-backed cmdlets and changes group/policy retrieval paths plus environment host selection (including new STAGING), which can affect API routing and behavior across tenants.
Overview
Releases PowerShell module
v3.1.0by bumpingJumpCloud.psd1/help version and exporting new cmdlets, alongside updated/generated docs.Adds STAGING environment support in
Connect-JCOnlineand module init (JumpCloud.psm1), including new console/API host defaults and updatedValidateSet/docs for-JCEnvironment.Expands group functionality to include Policy groups:
Get-JCGroupnow supports-Type Policy(new endpoints, case-sensitive name matching),Get-DynamicHashsupportsGroupType Policy, and introduces new SDK-based cmdlets for policy/user/system groups (e.g.,Get/Set-JCUserGroup,Get/Set-JCSystemGroup,Get/New/Set/Remove-JCPolicyGroup,Get-JCPolicyGroupMember,Set-JCPolicyGroupMember) while removing the older hand-rolled policy group implementations.Improves tooling/CI: workflow triggers on versioned branches, switches SDK module dependencies to
latest, refactors module-install logic, updates Pester org secret wiring, and enhances SDK sync generation to clean autorest docs blocks, normalize links, and optionally alias/rename identity parameters when wrapping SDK cmdlets.Fixes policy registry conversion to emit DWORD/QWORD values as decimal strings (with updated tests) to avoid numeric coercion issues.
Reviewed by Cursor Bugbot for commit 7d20dfc. Bugbot is set up for automated code reviews on this repo. Configure here.