Skip to content

[Jira] Fix Jira archive project REST API method from POST to PUT #1491

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

SuperWonjune
Copy link
Contributor

https://docs.atlassian.com/software/jira/docs/api/REST/9.14.0/#api/2/project-archiveProject

In the latest Jira LTS versions (9.12, 9.4), a 405 error occurs with the "HTTP request Wrong method" when using the Archive Project function.

Upon investigation, it was found that the method was incorrectly set to POST. This will be corrected to use PUT instead.

Copy link

codecov bot commented Jan 20, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 34.07%. Comparing base (9eb04fd) to head (b1d055d).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
atlassian/jira.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1491      +/-   ##
==========================================
- Coverage   34.10%   34.07%   -0.04%     
==========================================
  Files          46       46              
  Lines        8753     8755       +2     
  Branches     1335     1235     -100     
==========================================
- Hits         2985     2983       -2     
- Misses       5646     5652       +6     
+ Partials      122      120       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gonchik gonchik merged commit 405049f into atlassian-api:master Jan 22, 2025
11 of 13 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants