Skip to content

Releases: devopshq/tfs

1.1.1

19 May 04:03
4eaa382
Compare
Choose a tag to compare
  • Move CI to Github Actions

Release 1.0.79

16 May 08:51
e5b256c
Compare
Choose a tag to compare

New features:

  1. Create Workitem from python #24
  2. Copy Workitem
  3. Add relations to Workitem

Release 1.0.54

12 Jan 09:58
e082f55
Compare
Choose a tag to compare

Feature

  1. Add method to work with Attachments
  2. Add self.data with raw-response in json format
  3. Add method to work with Links
  4. Add revision property to Workitem #15

Release 1.0.14

24 Jul 08:41
Compare
Choose a tag to compare

Feature

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

13 Jul 13:52
Compare
Choose a tag to compare

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:

  1. Get WorkItems (WI).
  2. Set WI fields.
  3. Run WI search queries.
  4. Work with TFVC changesets.
  5. Work with TFS Projects.

Features

  1. Now you can install TFS API Python client via pip:
    pip install dohq-tfs [--upgrade] [--pre]

  2. Documentation auto-updated from README.md on the GitHub-pages. More usage examples added: https://devopshq.github.io/tfs/

Improvements

  1. Build-process realized using Travis-CI. After success build TFS API Python client auto-uploaded to PyPI: .tar.gz and .whl archives are suported.

  2. Badges with links and actual statuses from Travis-CI, PyPI and Codacy services added to README.md.

  3. Some unit-tests on base routines added.