-
Notifications
You must be signed in to change notification settings - Fork 178
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
feat(abr-testing): Link relevant JIRA tickets #15849
Conversation
auth=self.auth, | ||
data=link_data, | ||
) | ||
print(response) |
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.
We don't need to print response every time.
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.
and lets add error handling around the requests.post()
try: response = requests.post( f"{self.url}/rest/api/3/issueLink", headers=self.headers, auth=self.auth, data=link_data, ) response_str = str(response.content) except requests.exceptions.HTTPError: print(f"HTTP error occurred. Response content: {response_str}")
great looks good to merge! |
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.
lgtm
Overview
The create jira script will now link relevant tickets to a newly created ticket.
Test Plan and Hands on Testing
It was run multiple times on multiple accounts.
Changelog
Fixed issues_on_board to grab recent issues, created match issues that matches relevant issues, and created link tickets that links tickets. Called all three functions in the Create Jira script.
Review requests
Risk assessment