Replies: 1 comment
-
Hi,
diff --git a/src/pylero/project.py b/src/pylero/project.py
index 4aa0603..9f7af1e 100644
--- a/src/pylero/project.py
+++ b/src/pylero/project.py
@@ -197,7 +197,7 @@ class Project(BasePolarion):
for (
suds_custom
) in self.session.tracker_client.service.getDefinedCustomFieldType(
- self._uri, work_item_type_id
+ self.project_id, work_item_type_id
):
customs.append(CustomFieldType(suds_object=suds_custom))
return customs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to read project configuration.
For exmaple I want to get all work item types defined in the particular project.
Then I suppose I would be able to get work item's custom fields and enumeration.
But I am stuck how to get project's work item types
I am trying this:
but getting error: AttributeError: 'Project' object has no attribute '_uri'. Did you mean: 'uri'?
If I replace '_uri' by 'uri' in project.py
Please help if you have any advice.
Beta Was this translation helpful? Give feedback.
All reactions