-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Bug] Custom field display #140
Comments
potential fix can be to return JSON.stringify(value.value) in renderCustomField function
|
Trying to access JSON.stringify(value.value) in the renderCustomField function like this: return JSON.stringify(value.requestType) results somehow in: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'requestType') JSON.stringify(value): {
"_links": {
"jiraRest": "https://limgroup.atlassian.net/rest/api/2/issue/11190",
"web": "https://limgroup.atlassian.net/servicedesk/customer/portal/1/SUP-22",
"self": "https://limgroup.atlassian.net/rest/servicedeskapi/request/11190",
"agent": "https://limgroup.atlassian.net/browse/SUP-22"
},
"requestType": {
"_expands": [
"field"
],
"id": "6",
"_links": {
"self": "https://limgroup.atlassian.net/rest/servicedeskapi/servicedesk/1/requesttype/6"
},
"name": "Request a \"Kiemtoets\" analysis",
"description": "Aanvraag",
"issueTypeId": "10036",
"serviceDeskId": "1",
"portalId": "1",
"groupIds": [
"1"
],
"icon": {
"id": "10511",
"_links": {
"iconUrls": {
"48x48": "https://limgroup.atlassian.net/rest/api/2/universal_avatar/view/type/SD_REQTYPE/avatar/10511?size=large",
"24x24": "https://limgroup.atlassian.net/rest/api/2/universal_avatar/view/type/SD_REQTYPE/avatar/10511?size=small",
"16x16": "https://limgroup.atlassian.net/rest/api/2/universal_avatar/view/type/SD_REQTYPE/avatar/10511?size=xsmall",
"32x32": "https://limgroup.atlassian.net/rest/api/2/universal_avatar/view/type/SD_REQTYPE/avatar/10511?size=medium"
}
}
}
},
"currentStatus": {
"status": "To Do",
"statusCategory": "NEW",
"statusDate": {
"iso8601": "2024-10-08T11:52:13+0200",
"jira": "2024-10-08T10:52:13.904+0100",
"friendly": "08-10-2024 11:52",
"epochMillis": 1728381133904
}
}
} |
I'm having similar issue when trying to display sprint names and instead I get a JSON :( |
Describe the bug
Custom field (for example $REQUEST TYPE [10010]) not working as expected; displays either empty or a JSON.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Custom field value in cell
The text was updated successfully, but these errors were encountered: