Releases: devopshq/tfs
1.1.1
Release 1.0.79
New features:
- Create Workitem from python #24
- Copy Workitem
- Add relations to Workitem
Release 1.0.54
Feature
- Add method to work with Attachments
- Add
self.data
with raw-response in json format - Add method to work with Links
- Add revision property to Workitem #15
Release 1.0.14
Feature
- Run Work Item Query Language
- Set http timeout
Run WIQL
You can run Work Item Query Language
# Set path to ProjectName in project parameter
client = TFSAPI("https://tfs.tfs.ru/tfs/", project="Development/ProjectName", user=user, password=password)
# Run custom query
### NOTE: Fields in SELECT really ignored, wiql return Work Items with all fields
query = """SELECT
[System.Id],
[System.WorkItemType],
[System.Title],
[System.ChangedDate]
FROM workitems
WHERE
[System.WorkItemType] = 'Bug'
ORDER BY [System.ChangedDate]"""
wiql = client.run_wiql(query)
# Get founded Work Item ids
ids = wiql.workitem_ids
print("Found WI with ids={}".format(",".join(ids)))
# Get RAW query data - python dict
raw = wiql.result
# Get all found workitems
workitems = wiql.workitems
print(workitems[0]['Title'])
Timeout connection
You can set CONNECT and READ timeouts (read more)
from tfs import TFSAPI
client = TFSAPI("https://tfs.tfs.ru/tfs/", user=user, password=password, connect_timeout=30, read_timeout=None)
Release 1.0.6 announcement
Release version of TFS API Python client [1.0 build 6] uploaded to PyPI:
https://pypi.python.org/pypi/dohq-tfs/1.0.6
Please report new bugs or the required functionality in new tasks.
TFS Python Library is a TFS API Python client that can work with TFS workflow and workitems.
This tool allows:
- Get WorkItems (WI).
- Set WI fields.
- Run WI search queries.
- Work with TFVC changesets.
- Work with TFS Projects.
Features
-
Now you can install TFS API Python client via pip:
pip install dohq-tfs [--upgrade] [--pre] -
Documentation auto-updated from README.md on the GitHub-pages. More usage examples added: https://devopshq.github.io/tfs/
Improvements
-
Build-process realized using Travis-CI. After success build TFS API Python client auto-uploaded to PyPI: .tar.gz and .whl archives are suported.
-
Badges with links and actual statuses from Travis-CI, PyPI and Codacy services added to README.md.
-
Some unit-tests on base routines added.