Comments (3)
I guess it was fixed by that merged pull request.
from jira.
Not had chance to check it properly but the code's all there - thank you for this. It solves a big problem for me. :-)
from jira.
Hello,
I have some problem with 0.50 and delete_project() method. 0.47 is working properly. Here the error (running pytest)
/work/virtualenvs/stp/lib/python2.7/site-packages/jira/client.py:2299: in delete_project
r = self._gain_sudo_session(payload, uri)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <jira.client.JIRA object at 0x2567a50>, options = {'Delete': 'Delete', 'confirm': 'true', 'pid': '10406'}
destination = '/secure/admin/DeleteProject.jspa'
def _gain_sudo_session(self, options, destination):
url = self._options['server'] + '/secure/admin/WebSudoAuthenticate.jspa'
payload = {
> 'webSudoPassword': self._session.auth[1],
'webSudoDestination': destination,
'webSudoIsPost': 'true',
}
E TypeError: 'NoneType' object is not subscriptable
/work/virtualenvs/stp/lib/python2.7/site-packages/jira/client.py:2319: TypeError
--------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------
ERROR:root:JiraError HTTP 404
text: Issue Does Not Exist
url: http://jira.local:2990/jira/rest/api/2/issue/TEST-7
response headers = {'x-ausername': 'admin', 'x-arequestid': '842x10568x1', 'x-content-type-options': 'nosniff', 'transfer-encoding': 'chunked', 'x-seraph-loginreason': 'OK', 'x-asessionid': '8sfgyr', 'server': 'Apache-Coyote/1.1', 'cache-control': 'no-cache, no-store, no-transform', 'date': 'Tue, 18 Aug 2015 13:02:15 GMT', 'content-type': 'application/json;charset=UTF-8'}
response text = {"errorMessages":["Issue Does Not Exist"],"errors":{}}
------------------------------------------------------------- Captured stdout teardown --------------------------------------------------------------
Removing project: TEST
The strange thing is that it is going to request TEST-7 which doesn't exists at all.
I'm running Jira SDK
from jira.
Related Issues (20)
- maxResult should allow values >= 0 HOT 1
- create_issue_link crashes when passing named argument type as IssueLinkType
- Flesh out Dashboard Endpoints HOT 1
- backup_progress() method does not work HOT 1
- Bug: 'name' Field Should Be Renamed to 'accountId
- Issue description support of Atlassian Document Format (ADF) HOT 1
- Add ability to search users by email HOT 5
- Parse errors does not reach correct block HOT 1
- add_watcher should accept a user ID, as per Jira API HOT 2
- jira reindex doesn't work as expected
- Unnecessary api call to /rest/api/2/field HOT 2
- Transition_Issue fail
- Unable to paginate `search_issues` with `properties`
- dict2resource function can create attributes with space in name
- Add `jira.search_filter` functionality
- Support for Proxy Headers in JIRA Package (e.g., Proxy-Authorization) HOT 1
- Calling add_user() on Jira Cloud instances fails with: You must specify the products that user can access. HOT 1
- Bulk issues creation (`create_issues` method) misses errorMessages field in response HOT 1
- How to upload a file on Jira Service Desk?
- Erroneous Warnings When Creating Issue Links
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jira.