Skip to content

Add JIRA Project Roles API support - #99

Merged
Lakritzator merged 4 commits into
masterfrom
copilot/add-jira-project-roles-api-support
Jan 30, 2026
Merged

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

Conversation

Copilot AI commented Jan 29, 2026 •

Copy link
Copy Markdown
Contributor

Implementation Plan for JIRA Project Roles API

  • Create entity models for Project Roles API:
    • ProjectRole entity (role information)
    • RoleActor entity (individual user/group actor)
    • RoleScope entity (role scope information)
    • Group entity (group information) - merged with master version
  • Add methods to ProjectDomainExtensions.cs:
    • GetRolesAsync - List all roles in a project
    • GetRoleAsync - Get role details and actors
    • AddActorToRoleAsync - Assign users/groups to project roles
    • RemoveActorFromRoleAsync - Remove users/groups from project roles
  • Add tests to ProjectTests.cs:
    • TestGetRolesAsync - Test listing all roles
    • TestGetRoleAsync - Test getting role details with actors
    • TestAddAndRemoveActorFromRoleAsync - Test adding and removing actors
  • Resolve merge conflict with master branch
  • Build and test the implementation
  • Run security check (CodeQL - 0 alerts found)

Summary

Successfully implemented support for JIRA Project Roles API with complete CRUD operations for managing project role actors. The implementation:

  • Follows existing codebase patterns and conventions
  • Includes comprehensive entity models with proper JSON serialization
  • Provides full parameter validation and error handling
  • Includes extensive test coverage
  • Passes security scanning with zero vulnerabilities
  • Merged with master branch - resolved conflict in Group.cs by using the master's version
Original prompt

This section details on the original issue you should resolve

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

  • List all roles in a project
  • Get role details and actors
  • Assign users/groups to project roles
  • Remove users/groups from project roles

Implementation should be in ProjectDomainExtensions.cs</issue_description>

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


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@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.

…ethods

Co-authored-by: Lakritzator <708125+Lakritzator@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for JIRA Project Roles API Add JIRA Project Roles API support Jan 29, 2026
Copilot AI requested a review from Lakritzator January 29, 2026 15:08
@Lakritzator

Copy link
Copy Markdown
Member

@copilot resolve the merge conflict

Resolved merge conflict in Group.cs by using master's version which has the Self property instead of extending BaseProperties.

Co-authored-by: Lakritzator <708125+Lakritzator@users.noreply.github.com>

Copilot AI commented Jan 29, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflict

Resolved the merge conflict in Group.cs. The conflict was resolved by using master's version of the Group entity which includes the Self property, which is the correct structure for JIRA group entities. Commit: 9688e77

@Lakritzator
Lakritzator marked this pull request as ready for review January 30, 2026 07:04
@Lakritzator
Lakritzator merged commit b7266bd into master Jan 30, 2026
2 of 5 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 Project Roles API

3 participants