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

Handle case where ex-employee is assignee of bugzilla ticket #83

Open
gene1wood opened this issue Apr 14, 2021 · 0 comments
Open

Handle case where ex-employee is assignee of bugzilla ticket #83

gene1wood opened this issue Apr 14, 2021 · 0 comments

Comments

@gene1wood
Copy link
Contributor

If an old resolved bugzilla ticket for a VA or RRA has some update to it (another bug is set as "See Also" for it, a comment etc) and that old bugzilla ticket is assigned to someone who no longer works here, the code attempts to do things in CASA which fails because the user's CASA id doesn't work (because they don't work here)

I don't think that there's any reason to be making changes to CASA tickets for already resolved bugzilla tickets if those changes don't affect anything in CASA.

Apr 14 18:18:36 ip-172-31-18-38 journal: [18:18:36] ERROR [__main__.autocasa:215] Attempt to set CASA ticket delegator failed : ('https://biztera.com/api/v1/projects/10449/channels/security',
 'Bad Request', 400, '{"approverIds": ["590359b87320670010970a37"]}', '{"code":400,"message":"New users are not all organization members.","documentationURL":"https://biztera.com/developer"}'
)
Apr 14 18:18:36 ip-172-31-18-38 python3: [18:18:36] ERROR [__main__.autocasa:215] Attempt to set CASA ticket delegator failed : ('https://biztera.com/api/v1/projects/10449/channels/security',
 'Bad Request', 400, '{"approverIds": ["590359b87320670010970a37"]}', '{"code":400,"message":"New users are not all organization members.","documentationURL":"https://biztera.com/developer"}'
)
Apr 14 18:18:41 ip-172-31-18-38 journal: [18:18:41] ERROR [__main__.autocasa:277] Attempt to set CASA ticket status failed : ('https://biztera.com/api/v1/projects/10449/channels/security', 'F
orbidden', 403, '{"delegatorId": "590359b87320670010970a37", "decision": "done", "decisionLabel": "Completed: No outstanding issues found"}', '{"code":403,"message":"You are not a decision ma
ker for this section.","documentationURL":"https://biztera.com/developer"}')
Apr 14 18:18:41 ip-172-31-18-38 python3: [18:18:41] ERROR [__main__.autocasa:277] Attempt to set CASA ticket status failed : ('https://biztera.com/api/v1/projects/10449/channels/security', 'F
orbidden', 403, '{"delegatorId": "590359b87320670010970a37", "decision": "done", "decisionLabel": "Completed: No outstanding issues found"}', '{"code":403,"message":"You are not a decision ma
ker for this section.","documentationURL":"https://biztera.com/developer"}')
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

No branches or pull requests

1 participant