Open kleneway opened 13 hours ago
JACoB here...
You mentioned me on this issue and I am busy taking a look at it.
I'll continue to comment on this issue with status as I make progress.
Unfortunately, I ran into trouble working on this.
Here is some error information:
Missing required variables: types, packages, styles, sourceMap, images
JACoB here...
You mentioned me on this issue and I am busy taking a look at it.
I'll continue to comment on this issue with status as I make progress.
Unfortunately, I ran into trouble working on this.
Here is some error information:
Missing required variables: issueText
JACoB here...
You mentioned me on this issue and I am busy taking a look at it.
I'll continue to comment on this issue with status as I make progress.
Unfortunately, I ran into trouble working on this.
Here is some error information:
Missing required variables: issueBody, codePatch, context
JACoB here...
You mentioned me on this issue and I am busy taking a look at it.
I'll continue to comment on this issue with status as I make progress.
Unfortunately, I ran into trouble working on this.
Here is some error information:
Server Error
JACoB here...
You mentioned me on this issue and I am busy taking a look at it.
I'll continue to comment on this issue with status as I make progress.
I've completed my work on this issue and have created a pull request: JACoB PR for Issue Enhance the Jira to GitHub issue conversion.
Please review my changes there.
Summary
Many incoming Jira tickets lack sufficient detail for JACoB to process them effectively. This leads to wasted resources as we create plans and research items for tasks that cannot be completed due to inadequate information. To improve efficiency, we need to implement an evaluation step before converting Jira issues into GitHub issues.
Proposed Solution
Enhance the Jira to GitHub issue conversion process by introducing an issue quality evaluation step. Instead of always rewriting the Jira title and description and creating a new GitHub issue, we will first assess the quality of the Jira issue to determine if it contains enough detail for JACoB to handle.
Implementation Steps
1. Implement
evaluateJiraIssue
Function/src/server/utils/evaluateIssue.ts
evaluateJiraIssue
that:2. Update the Jira Issue Conversion Process
/src/server/utils/jira.ts
convertJiraIssueToGithubIssue
function to include the evaluation step:evaluateJiraIssue
function with the Jira issue's title and description.3. Update the Issues Database Schema
/src/server/db/migrations/20241130000000_updateIssuesTable.ts
issues
table to include the following optional fields:jiraIssueDescription
:text
field to store the original description from the Jira issue.evaluationScore
:numeric
field to store the score fromevaluateJiraIssue
.feedback
:text
field to store the feedback message provided to the user.didCreateGithubIssue
:boolean
field (defaultfalse
) indicating whether a GitHub issue was created.4. Communicate Feedback to Users
5. Update Tests and Documentation
evaluateJiraIssue
function for correct scoring and messaging.convertJiraIssueToGithubIssue
function for both paths (issue created and not created).evaluateJiraIssue
.Expected Outcome
By implementing this evaluation step in the Jira to GitHub issue conversion process: