-
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
Error creating work item: At least choose either-or between template and copied_from #194
Comments
@Narendra0908 Please try to set either a=myclient.createWorkitem(item_type='Task',
title='test1',
description=None,
projectarea_id=None,
projectarea_name="[PROD]eRPO_Base_MBSE_PATAC_RTC",
template=None,
copied_from="144265",
keep=False) |
yeh will check and let u know. What is this copied_from? As per my understanding this copied_from parameter stores a woritem id like a parent work item id where the information(like estimate,ownedBy,etc) for the new task is taken from that mention parent work item id. But my doubt is in order to create a new task with new information why do we need that copied_from or template |
I used the code snippet as shown but i am getting the following error: Error creating work item: 400 Client Error: Bad Request for url: https://rb-alm-07-p.de.bosch.com/ccm/oslc/contexts/_1XITP6x9EeSLgc_fYa7XpA/workitems/task |
This may be another issue, such as authentication error,etc.
This is doable if we make private function |
Any rest APIs for creating, deleting and updating work item in ALM using python? |
@Narendra0908 The requesting urls are not REST style. The url for workitem creating is Line 1252 in 8d14948
In current rtcclient, I did not add methods to delete and update workitems. Maybe you can help find ways and urls to solve these. |
where is the main function to run the client.py script like how to run that script |
In rtcclient/client.py, public function
myclient.createWorkitem("issue", "demo title", description=None, projectarea_id="a-projectarea-id", template=None, copied_from="123456", keep=False) P.S. You can find the function references with an IDE. Thanks. |
how to solve the below error: ConnectionError: HTTPSConnectionPool(host='localhost', port=9443): Max retries exceeded with url: /jazz/rootservices/authenticated/identity (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002343A6296A0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')) |
From the error message, it seems the server is not running properly. That's why the rtcclient failed to establish a new connection. |
while trying to create a work item i am encountering the error: Error creating work item: At least choose either-or between template and copied_from . Can someone please help with this error
The text was updated successfully, but these errors were encountered: