dixudx / dixudx/rtcclient

Conflict for url

Open
#135 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
40
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Hi dixudu,
I have used the below method to create the workitem
url = "https://jazz/ccm"
username = 'user1'
password = 'password'
self.myclient = RTCClient(url, username, password, ends_with_jazz=False)

ItemType = "Bug"
Title = "issue in Automation TC1 "
TicketInfo = {
"teamArea": "Automation",
"ownedBy": "user1",
"plannedFor": "",
"severity": "",
"priority": "Unassigned",
"filedAgainst": "Automation"
}

new_workitem = self.myclient.createWorkitem(ItemType,Title,projectarea_name='Automation',copied_from = "25", keep=False,**TicketInfo)

while executing this i am getting below error:
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://jazz/ccm/oslc/contexts/_AYHaABX4EeixFZtdqmYqvw/workitems/bugv2.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.