-
Notifications
You must be signed in to change notification settings - Fork 74
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
Cannot read property ['getCustomFieldsForWorkspace' | 'getCustomFieldsForProject' | 'getCustomField'] of undefined #221
Comments
eboody
changed the title
Cannot read property 'getCustomFieldsForWorkspace' of undefined
Cannot read property {'getCustomFieldsForWorkspace' | 'getCustomFieldsForProject' | 'getCustomField'} of undefined
Dec 7, 2020
eboody
changed the title
Cannot read property {'getCustomFieldsForWorkspace' | 'getCustomFieldsForProject' | 'getCustomField'} of undefined
Cannot read property ['getCustomFieldsForWorkspace' | 'getCustomFieldsForProject' | 'getCustomField'] of undefined
Dec 7, 2020
I was able to get the data like this ↓ but my code would be a lot easier for me to read if I could do it with the pretty code laid out in the documentation.
|
I have the same issue |
1 similar comment
I have the same issue |
The documentation has a capitalization error "client.customFields" instead of "client.customfields" should work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there!
For some reason, I'm not able to use the getCustomFieldsForWorkspace function to work for me.
Here is example-code that gives me the same error ↓
And this is the error I get ↓
I used the client object to get the workspaces and it worked fine, so when the error says that
client.customfields
isundefined
I'm left scratching my head as to whycustomfields
is missing fromclients
.I encounter the same issue when I try to do
getCustomFieldsForProject
as well asgetCustomField
with the relevant project gid and custom field gid, respectively.I am however able to get the custom field objects using CURL, but id like to do it just with javascript.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: