Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoenmans committed Feb 24, 2020
1 parent 564e2e1 commit cbfeb3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,13 @@ doc.add(JsonPatchOperation('replace', SystemFields.TITLE, 'Work item 2'))
workitem = client.update_workitem(13, doc)
```
#### Change work item type
NOTE: Only supported on Azure DevOps (not on TFS).
> Only supported on Azure DevOps (not on TFS).
```python
client = VstsClient('dev.azure.com/<account>', '<personalaccesstoken>')
client.change_workitem_type(13, 'Task')
```
#### Move a work item
NOTE: Only supported on Azure DevOps (not on TFS).
> Only supported on Azure DevOps (not on TFS).
```python
client = VstsClient('dev.azure.com/<account>', '<personalaccesstoken>')

Expand Down Expand Up @@ -244,7 +244,7 @@ client.add_attachment(workitem.id, attachment.url, 'Linking example.png to a wor
#### Update work items bypassing rules
Bypassing the rules engine allows you to modify work item fields without any restrictions, for example you can assign a work item to a user no longer in the organization.

To modify the `System.CreatedBy`, `System.CreatedDate`, `System.ChangedBy`, or `System.ChangedDate` fields, you must be a member of the Project Collection Service Acccounts group.
> To modify the `System.CreatedBy`, `System.CreatedDate`, `System.ChangedBy`, or `System.ChangedDate` fields, you must be a member of the Project Collection Service Acccounts group.
```python
doc = JsonPatchDocument()
doc.add(JsonPatchOperation('add', SystemFields.CHANGED_BY, 'Woody <woody@contoso.com>'))
Expand Down

0 comments on commit cbfeb3d

Please sign in to comment.