Skip to content

Conversation

@leplatrem
Copy link
Contributor

I was able to reproduce the error locally:

>>> s.client.update_issue_field(key="RMST-212", fields={"priority":"None"})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
 ...
  File "/Users/mathieu/Code/Mozilla/jira-bugzilla-integration/jbi/jira/client.py", line 53, in raise_for_status
    return super().raise_for_status(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mathieu/Code/Mozilla/jira-bugzilla-integration/.venv/lib/python3.12/site-packages/atlassian/rest_client.py", line 999, in raise_for_status
    raise HTTPError(error_msg, response=response)
requests.exceptions.HTTPError: PUT /rest/api/2/issue/RMST-212?notifyUsers=true -> HTTP 400: Specify the Priority (id or name) in the string format
>>> s.client.update_issue_field(key="RMST-212", fields={"priority":{"name": "None"}})
>>> s.client.update_issue_field(key="RMST-212", fields={"priority":{"name": "P1"}})
>>>
Screenshot 2025-10-29 at 17 44 34

@leplatrem leplatrem requested a review from a team as a code owner October 29, 2025 16:44
@github-actions github-actions bot added the configuration Changes to JBI action configuration label Oct 29, 2025
@leplatrem leplatrem added the bug Something isn't working label Oct 29, 2025
@leplatrem leplatrem merged commit 6a09199 into main Oct 29, 2025
8 of 9 checks passed
@leplatrem leplatrem deleted the follow-up-unset branch October 29, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working configuration Changes to JBI action configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants