Skip to content

Commit

Permalink
Merge pull request #3 from gastaldi/improvements
Browse files Browse the repository at this point in the history
Improve text according to feedback
  • Loading branch information
paulrobinson authored Nov 24, 2022
2 parents 24398e8 + 1c2831b commit 1484d35
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ hs_err_pid*
# JIRA Lint specific files
*-test.xml
emails.html

# IDE files
*.iml
.idea
2 changes: 1 addition & 1 deletion quarkus.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{
"OpenOrVersionedNotDoneIssue": {
"jql": "project = QUARKUS AND (resolution != 'Done') AND (status not in (Closed) or fixVersion is not EMPTY)",
"description": "Duplicate issues should be in the 'Closed' status and not be assigned to a FixVersion. This ensures that they don't clutter up reports. Please fix this be ensuring the issue is in the 'Closed' status and that the 'Fix Version/s' field is empty"
"description": "Open Issues with a resolution different than 'Done' should be in the 'Closed' status and not be assigned to a FixVersion. This ensures that they don't clutter up reports. Please fix this be ensuring the issue is in the 'Closed' status and that the 'Fix Version/s' field is empty"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions run.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ else if (getFirstComponentLead(issue) != null) { // Try component lead next
}
else //Fallback to JIRA Lint process maintainer
{
jiraUser = new JiraUser("Paul Robinson", "[email protected]");
jiraUser = new JiraUser("RHBQ Release Coordinator", EMAIL_FROM);
}

ReportResult reportResult = new ReportResult(reportItemID, issue.getSummary(), reportItem.getDescription(), new URL("https://issues.redhat.com/browse/" + issue.getKey()), issue.getKey(), jiraUser);
Expand Down Expand Up @@ -308,7 +308,7 @@ public String createEmailBody(JiraUser jiraUser, List<ReportResult> reportResult
body += "</p>";
body += "<p>If you are confused, or think this email has been sent in error, hit reply to let me know.</p>";
body += "<p>Thanks,</p>";
body += "<p>Paul (via the JIRA Lint tool)</p>";
body += "<p>RHBQ Release Coordinator (via the JIRA Lint tool)</p>";

return body;
}
Expand Down

0 comments on commit 1484d35

Please sign in to comment.