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

ABR JIRA TICKET CREATION. #14767

Merged
merged 6 commits into from
Apr 1, 2024
Merged

ABR JIRA TICKET CREATION. #14767

merged 6 commits into from
Apr 1, 2024

Conversation

rclarke0
Copy link
Contributor

@rclarke0 rclarke0 commented Apr 1, 2024

Overview

Automate JIRA Ticket Creation Process for robots with errors.

Test Plan

  • used with ABR robots when errors have occurred. Tickets have been recorded accurately.

Changelog

  • Removed uncertain error levels in error_levels to allow for "Level # Failure" component to be filled in on JIRA
  • Created jira_tools function to create tickets, open tickets, collect error information from robot, read issues on board
  • jira_tools function add_attachments_to_ticket currently results in an error. The run log is saved as a file on your computer but cannot be added to the ticket .
  • added arguments for JIRA api key, storage directory, robot ip, email, board id

Review requests

Risk assessment

  • JIRA api token was acciedntly uploaded in previous merges but the token has been retired.
  • add_attachments_to_ticket does not currently work.
  • This script will only work if you run it before the errored out robot starts another run.
  • RABR is currently hard coded as the board to post to.

@rclarke0 rclarke0 requested review from a team as code owners April 1, 2024 17:18
@rclarke0 rclarke0 requested a review from sfoster1 April 1, 2024 17:22
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@rclarke0 rclarke0 merged commit ad5650d into edge Apr 1, 2024
5 checks passed
@rclarke0 rclarke0 deleted the abr-jira-ticket-creation branch April 3, 2024 15:29
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
<!--
Thanks for taking the time to open a pull request! Please make sure
you've read the "Opening Pull Requests" section of our Contributing
Guide:


https://github.com/Opentrons/opentrons/blob/edge/CONTRIBUTING.md#opening-pull-requests

To ensure your code is reviewed quickly and thoroughly, please fill out
the sections below to the best of your ability!
-->

# Overview

Automate JIRA Ticket Creation Process for robots with errors.

# Test Plan

- used with ABR robots when errors have occurred. Tickets have been
recorded accurately.

# Changelog

- Removed uncertain error levels in error_levels to allow for "Level #
Failure" component to be filled in on JIRA
- Created jira_tools function to create tickets, open tickets, collect
error information from robot, read issues on board
- jira_tools function add_attachments_to_ticket currently results in an
error. The run log is saved as a file on your computer but cannot be
added to the ticket .
- added arguments for JIRA api key, storage directory, robot ip, email,
board id

# Review requests

# Risk assessment

- JIRA api token was acciedntly uploaded in previous merges but the
token has been retired.
- add_attachments_to_ticket does not currently work. 
- This script will only work if you run it before the errored out robot
starts another run.
- RABR is currently hard coded as the board to post to.
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

Successfully merging this pull request may close these issues.

2 participants