clusterfuzz icon indicating copy to clipboard operation
clusterfuzz copied to clipboard

Update issue_tracker_manager.py

Open sboni-sc opened this issue 7 months ago • 7 comments

JIra Watcher Management Improvements

  • Enhanced _add_watchers method to prevent duplicate watcher additions. This is essential because if there are a lot of watchers and jira tickets this could amount to a huge load of unnecessary requests when we are updating these tickets for unrelated fields.
  • Added error handling for watcher addition failures
  • Improved efficiency by checking existing watchers before making API calls

sboni-sc avatar May 07 '25 22:05 sboni-sc

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar May 07 '25 22:05 google-cla[bot]

ptal @jonathanmetzman @vitorguidi

sboni-sc avatar May 07 '25 22:05 sboni-sc

/gcbrun

jonathanmetzman avatar May 09 '25 15:05 jonathanmetzman

Interesting, what are you using this to fuzz?

jonathanmetzman avatar May 09 '25 15:05 jonathanmetzman

Please run formatter.

jonathanmetzman avatar May 09 '25 15:05 jonathanmetzman

Ran formatter on the code: https://github.com/google/clusterfuzz/pull/4788/commits/405f4af7f70b24cc416558fc77950b6c746188b0

We are running this internally for our organization. While we don't have a large volume of tickets, the current approach has been causing issues. Specifically, some of the cron jobs frequently trigger update watcher requests, which result in a significant number of requests being sent to Jira. This high volume of requests is effectively contributing to the overwhelming of Jira, leading to it being locked for updates and writes.

sboni-sc avatar May 13 '25 23:05 sboni-sc

/gcbrun

jonathanmetzman avatar May 30 '25 13:05 jonathanmetzman

This pull request has not had any activity for 60 days and will be automatically closed in two weeks

github-actions[bot] avatar Jul 29 '25 14:07 github-actions[bot]

/gbcurn

jonathanmetzman avatar Jul 29 '25 14:07 jonathanmetzman

Sorry I was on paternity leave.

jonathanmetzman avatar Jul 29 '25 14:07 jonathanmetzman

This pull request has not had any activity for 60 days and will be automatically closed in two weeks

github-actions[bot] avatar Sep 27 '25 16:09 github-actions[bot]

Automatically closing stale pull request

github-actions[bot] avatar Oct 11 '25 16:10 github-actions[bot]