-
-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Labels
Milestone
Description
Describe the bug
The command slackdump -v -list-users -r json does not include the custom fields in user profiles.
For example, a request of the form
https://SUBDOMAIN.slack.com/api/search.modules?_x_id=1111111-11111111.551&_x_csid=2222-33333&slack_route=12345678&_x_version_ts=ABCDEFGH&_x_gantry=true&fp=7d
returns profile data in the form
{
"iid": "33332999-7520-4444-9a6a-43fee1d42caa",
"id": "UDJMAGZZZ",
"profile": {
"title": null,
"phone": null,
"skype": "",
"real_name": "Jon Doe",
"real_name_normalized": "Jon Doe",
"display_name": "jon.doe",
"display_name_normalized": "jon.doe",
"fields": {
"Zz11HKQG22": {
"value": "role",
"alt": ""
},
"Zz11KKCF22": {
"value": "2018-10-22",
"alt": ""
},
"Zz11JK4P22": {
"value": "location",
"alt": ""
},
"Zz11JKQ722": {
"value": "https:\/\/example.com\/people\/343000",
"alt": "text"
},
"Zz113KK222": {
"value": "U4GGSS333",
"alt": ""
},
"Zz11BKG822": {
"value": "function",
"alt": ""
},
"Zz118KA022": {
"value": "project name",
"alt": ""
},
"Zz115KTT22CB": {
"value": "747578",
"alt": ""
}
},
"status_text": "",
"status_emoji": "",
"status_emoji_display_info": [],
"status_expiration": 0,
"avatar_hash": "cccccccccc",
"image_original": "https:\/\/avatars.slack-edge.com\/2022-02-12\/abcdefgh-7b6_original.jpg",
"is_custom_image": true,
"email": "jon.doe@example.com",
"first_name": "Jon",
"last_name": "Doe",
"image_24": "https:\/\/avatars.slack-edge.com\/2022-02-12\/abcdefgh-7b6_24.jpg",
"image_32": "https:\/\/avatars.slack-edge.com\/2022-02-12\/abcdefgh-7b6_32.jpg",
"image_48": "https:\/\/avatars.slack-edge.com\/2022-02-12\/abcdefgh-7b6_48.jpg",
"image_72": "https:\/\/avatars.slack-edge.com\/2022-02-12\/abcdefgh-7b6_72.jpg",
"image_192": "https:\/\/avatars.slack-edge.com\/2022-02-12\/abcdefgh-7b6_192.jpg",
"image_512": "https:\/\/avatars.slack-edge.com\/2022-02-12\/abcdefgh-7b6_512.jpg",
"image_1024": "https:\/\/avatars.slack-edge.com\/2022-02-12\/abcdefgh-7b6_1024.jpg",
"status_text_canonical": "",
"team": "TTTTTTT"
},
"username": "jon.doe",
"is_restricted": null,
"is_ultra_restricted": null,
"phone": "",
"top_terms": false,
"similar": false
}The key fields is not present in the output of slackdump -v -list-users -r json.
Is there a way to have those fields included? What would need to be changed in the code in order to get that data?
Reactions are currently unavailable