-
Notifications
You must be signed in to change notification settings - Fork 45
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
Conflict for url #135
Comments
@dixudx please provide update on this! |
@MohebaIbu Any other detailed logs/errors? |
@dixudx : Please see the below log 2021-03-17 09:38:50,324 DEBUG models.ItemType: Get response from https://jazz/ccm/oslc/projectareas/_CFggASER45RFVerfksiwkm 2021-03-17 09:38:52,152 DEBUG client.RTCClient: Get response from https://jazz/ccm/oslc/projectareas?oslc_cm.pageSize=10&_resultToken=_e45RpYbWEeutktGm_g5ePQ&_startIndex=10 2021-03-17 09:38:59,295 DEBUG template.Templater: Successfully remove field [rtc_cm:com.ibm.team.apt.attribute.constraintdate] from the template 2021-03-17 09:38:59,314 DEBUG client.RTCClient: Post a request to https://jazz/ccm/oslc/contexts/_CFggASER45RFVerfksiwkm/workitems/bugv2.0 with data: 2021-03-17 09:38:59,315 DEBUG urllib3.connectionpool: Starting new HTTPS connection (1): jazz:443 |
From above error, it seems some fields had been set illegally. @MohebaIbu You can try to set |
@dixudx |
@dixudx Any solution ? |
@MohebaIbu From the message hint here, I suspect that you've set illegal value in your |
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
The text was updated successfully, but these errors were encountered: