-
Notifications
You must be signed in to change notification settings - Fork 1
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
Some JIRA Automation #473
Some JIRA Automation #473
Conversation
for creating the ticket. A sprint is a custom field; figure out.
371c3e3
to
3a72784
Compare
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## develop #473 +/- ##
==========================================
Coverage 42.64% 42.64%
Complexity 172 172
==========================================
Files 24 24
Lines 1597 1597
Branches 131 131
==========================================
Hits 681 681
Misses 878 878
Partials 38 38
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat!
did a quick pass since this isn't for end-users
jira_automation/README.md
Outdated
Unito was seemingly mysteriously closing JIRA issues at random. It turned out to be because we hadn't properly configured | ||
a GitHub and JIRA user in Unito -- it's the Unito intended behavior. We currently don't need to run this, although if we have | ||
a configuration issue again, it could be useful in the future. | ||
2. io.dockstore.jira.MilestoneChecker - generates GitHub and JQL queries to find mismatches in the JIRA fix version and GitHub milestone. The JIRA fix version is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i.e. this is still a common problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i.e. this is still a common problem
The Milestone thing is a common problem; I typically run it before a backlog grooming meeting and it will usually find a couple of issues out of sync.
Hopefully we won't need the ResolutionChecker again, since we figured out how the cause. But I wanted to keep it in case we onboard somebody incorrectly in the future and it crops up, and we need to go find the issues that were incorrectly closed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Sorry, comment wasn't a question. Rather, I meant since this is a common problem, this should probably be re-ordered to be first)
jira_automation/pom.xml
Outdated
<revision>1.0</revision> | ||
<changelist>.0-SNAPSHOT</changelist> | ||
|
||
<!-- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these seem unused (swagger, openapi annotations)
SonarCloud Quality Gate failed.
|
Description
This has been in a branch for several months now; I want to merge it so it's not lost even though some of it is in progress. I wouldn't submit a PR of this quality for the web service, but I think it's acceptable for support. But I can tidy up more if we think it's worth it.
This is some code to help with the JIRA admin tasks:
Review Instructions
![Screen Shot 2023-08-24 at 5 25 49 PM](https://private-user-images.githubusercontent.com/1049340/263134596-f41a4486-db66-46b5-ab6c-306b8cc1d963.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4ODI5MjMsIm5iZiI6MTczOTg4MjYyMywicGF0aCI6Ii8xMDQ5MzQwLzI2MzEzNDU5Ni1mNDFhNDQ4Ni1kYjY2LTQ2YjUtYWI2Yy0zMDZiOGNjMWQ5NjMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMThUMTI0MzQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTQ2ZjdhMDE0YTIwMzU3ZTgwYTMwZmU3NjcxNTE5YmY3NjM0YTM1YWZiMDQ2YWUyNzE3MGQyYmE1ZjMxNjI3ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ElJHyySzGCu3JAv-DhK206R4JXMi6MNq_xWJ2gUH9W0)
Try running the MilestoneChecker. You'll probably need a GitHub token, although it may work once or twice without a GitHub token. You can just run it in the IDE:
It should output a JIRA url in the console.
Issue
No issue was created.
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!
mvn clean install
in the project that you have modified (until https://ucsc-cgl.atlassian.net/browse/SEAB-5300 adds multi-module support properly)