Skip to content
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

Can't create workitem of type 'Defect' #120

Open
tszw opened this issue Aug 21, 2019 · 2 comments
Open

Can't create workitem of type 'Defect' #120

tszw opened this issue Aug 21, 2019 · 2 comments

Comments

@tszw
Copy link

tszw commented Aug 21, 2019

Hi Di Xu@dixudx
It raise exception: NotFound: Not itemtype's name is Defect in when I try to create one, but it can fetch the type attribute as 'defect' from an existing defect.
Can you take a look?
my RTC version is 6.0.2,
here is the code:
myClient = RTCClient(url, username, password, ends_with_jazz=False)
myClient.createWorkitem(item_type="Defect",
title='defect demo',
description=None,
projectarea_id='xxx',
projectarea_name='xxxx',
template=None,
copied_from=19,
keep=True)

@dixudx
Copy link
Owner

dixudx commented Aug 21, 2019

@tszw So just use defect instead of Defect. Acutaly this is usually customzied by your system administrators.

@tszw
Copy link
Author

tszw commented Aug 21, 2019

@dixudx Already tried with 'defect', got the same error. Actually I fetched the type from an existing defect in my RTC area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants