Replies: 1 comment
-
Found my issue, case sensitivity! I was using getWorkItems() instead of getWorkitems() |
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
-
I'm trying to find all matching documents in any project space then open them to get their work items. The first part was simple, but I'm having trouble with the second. My script at the moment is:
I tried then using
workItems = matchingDoc.getWorkItems()
but got the responseAttributeError: 'Document' object has no attribute 'getWorkItems'
Next I tried getting the document first before trying to get the work items by using
document = project.getDocument(location=matchingDoc.location)
but getException: Cannot find document at location {path redacted} in project myProjectId
Beta Was this translation helpful? Give feedback.
All reactions