Skip to content

Add JIRA Issue Votes API support - #93

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

Lakritzator merged 5 commits into
masterfrom
copilot/add-jira-votes-api-support

Conversation

Copilot AI commented Jan 29, 2026 •

Copy link
Copy Markdown
Contributor

Implementation Plan for JIRA Issue Votes API

  • Understand existing code patterns and structure
    • Review IssueDomainExtensions.cs structure
    • Examine VoteInfo.cs entity
    • Study existing test patterns in IssueTests.cs
    • Identify similar implementations (watches, comments)
  • Implement vote API methods in IssueDomainExtensions.cs
    • Add GetVotesAsync method to retrieve vote count and voters
    • Add AddVoteAsync method to vote on an issue
    • Add RemoveVoteAsync method to remove a vote
  • Add comprehensive tests in IssueTests.cs
    • Test GetVotesAsync method
    • Test AddVoteAsync method
    • Test RemoveVoteAsync method
    • Test complete voting workflow (add, verify, remove)
    • Fix test verification to ensure vote count matches initial state
  • Build and verify changes
    • Verify code builds successfully
    • Address code review feedback
    • Run security checks with codeql_checker (0 alerts found)
  • Resolve merge conflicts
    • Integrate watchers API methods from master
    • Verify both features coexist properly
Original prompt

This section details on the original issue you should resolve

<issue_title>Add support for JIRA Issue Votes API</issue_title>
<issue_description>Add support for JIRA Issue Votes API to allow:

  • Retrieving vote count and voters for an issue
  • Voting on issues
  • Removing vote from issues

Implementation should be in IssueDomainExtensions.cs following the existing pattern.</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.

Copilot AI and others added 2 commits January 29, 2026 14:50
…te, and RemoveVote

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

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

Copy link
Copy Markdown
Member

@copilot solve the conflict, the changes coming in are from a different feature.

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

Copilot AI commented Jan 29, 2026

Copy link
Copy Markdown
Contributor Author

@copilot solve the conflict, the changes coming in are from a different feature.

Conflict resolved in commit 40b970d. Both Votes API methods and Watchers API methods now coexist in IssueDomainExtensions.cs.

@Lakritzator
Lakritzator marked this pull request as ready for review January 29, 2026 15:28
@Lakritzator
Lakritzator merged commit ed17b42 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 Issue Votes API

3 participants