-
Notifications
You must be signed in to change notification settings - Fork 28
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
Project items are removed from the url when calling TFSAPI #55
Comments
AFAIK, project is not required for retrieving work items. To help with your issue we might need some extra details:
|
I am using TFS 2018.2. The TFS module defaults to version=1.0 of the API which should work. I guess I could change the TFSAPI module code to change this, unless I can send the API version as an argument. I'm still curious why the Project is chopped from the url, and only the Collection name remains. Currently I am awaiting feedback from my organization about permissions on the collection. |
Also, when I paste the url to the web browser the following error is displayed - "Work item 10 does not exist, or you do not have permissions to read it." |
@rtc116 401 means wrong user/password or personal access token. In my case I was unable to make it work with my user/password, but access token works well. |
I believe this is not an issue. |
@rtc116, then it is not the library's, issue.
Only then will you be able to see if the library actually works or not. |
I am specifying a Collection as well as a Project in the call to TFSAPI, however when I try to retrieve a work item there is a HTTPError: 401 Client Error: Unauthorized for url...However, I noticed that the project has been removed from the url and this could be causing the authentication error.
call to TFSAPI:
The text was updated successfully, but these errors were encountered: