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

Feature Request: Link Commits to Issues in Huly #7432

Open
logicsec opened this issue Dec 11, 2024 · 0 comments
Open

Feature Request: Link Commits to Issues in Huly #7432

logicsec opened this issue Dec 11, 2024 · 0 comments

Comments

@logicsec
Copy link

logicsec commented Dec 11, 2024

Summary

Enable users to link commits to specific issues in Huly, either as a connection in the side panel or by associating commits with sub-tasks directly within the issue interface. This feature will enhance traceability and streamline development workflows.

Problem Statement

Currently, Huly does not provide an intuitive way to link commits directly to issues. Developers have to rely on commit messages or external tracking to associate their work with specific tasks. This results in:

  • Reduced traceability of work items to their source code changes.
  • Lack of visibility into progress from the issue perspective.
  • A less seamless experience compared to systems where commits and issues are tightly integrated.

Proposed Solution

Introduce a feature that allows users to associate commits with issues in two ways:

  1. Side Panel Linking:
    • Display a list of recent or relevant commits in the issue's side panel.
    • Provide an option to search for and manually link existing commits.
  2. Sub-task Association:
    • Allow users to create sub-tasks for an issue and associate specific commits with those sub-tasks.
    • When viewing the sub-task, show the linked commit details for easy reference.

Benefits

  • Improved visibility of work progress from within issues.
  • Easier collaboration by making code changes directly accessible from issues.
  • Enhanced traceability and reporting for teams managing multiple tasks.

Implementation Details

  1. UI Changes:
    • Add a "Linked Commits" section to the issue's side panel.
    • Include a button to manually associate commits or view linked ones.
    • Display commit details (hash, author, date, and commit message).
  2. Data Model:
    • Extend the issue data structure to store linked commit references.
    • Add metadata to commits to store their linked issue ID or sub-task.
  3. API Updates:
    • Provide API endpoints to fetch and manage linked commits.
    • Ensure compatibility with existing Git commit and issue workflows.
  4. Integration:

Acceptance Criteria

  • Users can manually link/unlink commits to/from an issue.
  • Linked commits are visible in the issue's side panel.
  • Sub-tasks can have commits explicitly associated with them.
  • API endpoints for commit-issue linking are available and documented.

Alternatives Considered

  • Relying solely on commit message conventions, but this lacks manual flexibility and visibility in the UI.
  • Using external tools for commit tracking, which increases overhead.
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

No branches or pull requests

1 participant