We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
The command slackdump -v -list-users -r json does not include the custom fields in user profiles.
slackdump -v -list-users -r json
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": "[email protected]", "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.
fields
Is there a way to have those fields included? What would need to be changed in the code in order to get that data?
The text was updated successfully, but these errors were encountered:
I've checked the API and it doesn't appear that one can fetch the custom fields using the bulk API call to get all users. I'll have a look.
Sorry, something went wrong.
No branches or pull requests
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
The key
fields
is not present in the output ofslackdump -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?
The text was updated successfully, but these errors were encountered: