Skip to content

Add JIRA Groups API support - #101

Merged
Lakritzator merged 4 commits into
masterfrom
copilot/add-jira-groups-api-support
Jan 29, 2026
Merged

Lakritzator merged 4 commits into
masterfrom
copilot/add-jira-groups-api-support

Conversation

Copilot AI commented Jan 29, 2026 •

Copy link
Copy Markdown
Contributor

Implements Groups API domain with search, CRUD operations, and membership management.

API Coverage

GroupDomainExtensions.cs:

  • SearchAsync() - Query groups with exclusion filters
  • CreateAsync() / DeleteAsync() - Group lifecycle with optional swap on delete
  • AddUserAsync() / RemoveUserAsync() - Membership management (supports username/accountId)
  • GetUsersAsync() - Paginated member retrieval

Entity Models:

  • Group - Core group entity
  • GroupWithUsers - Group with paginated user list

Integration:

  • IGroupDomain interface following existing domain pattern
  • JiraClient.Group property exposing domain

Usage

// Search for groups
var groups = await client.Group.SearchAsync("developers");

// Create and manage groups
var group = await client.Group.CreateAsync("api-team");
await client.Group.AddUserAsync("api-team", accountId: "user123");
var members = await client.Group.GetUsersAsync("api-team", maxResults: 50);

// Cleanup with visibility transfer
await client.Group.DeleteAsync("old-team", swapGroup: "new-team");

Implementation Notes

Uses type aliases (JiraGroup) to avoid conflict with System.Text.RegularExpressions.Group from global usings.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add support for JIRA Groups API</issue_title>
<issue_description>Add support for JIRA Groups API to:

  • Search and find groups
  • Create and delete groups
  • Manage group membership
  • Get users from groups

Implementation should be in a new GroupDomainExtensions.cs.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@CLAassistant

CLAassistant commented Jan 29, 2026 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ Lakritzator
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI and others added 2 commits January 29, 2026 15:02
Co-authored-by: Lakritzator <708125+Lakritzator@users.noreply.github.com>
Co-authored-by: Lakritzator <708125+Lakritzator@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for JIRA Groups API functionalities Add JIRA Groups API support Jan 29, 2026
Copilot AI requested a review from Lakritzator January 29, 2026 15:09
@Lakritzator
Lakritzator marked this pull request as ready for review January 29, 2026 15:33
@Lakritzator
Lakritzator merged commit d87ee06 into master Jan 29, 2026
0 of 3 checks passed
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.

Add support for JIRA Groups API

3 participants