I am new to automation and jira. My company has asked to write a script to get all user list using Jira Rest API. via mobaxterm. I referred the following document:
The following curl command is given to get the all users list but its not working:
curl --request GET \ --url 'https://your-domain.atlassian.net/rest/api/3/users/search' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
Do I need to add anything else in the script? Please anyone provide the full script if possible.
P.S We use have jira on server
Hi @Sanjana Sen
Best
Stefan
@Stefan Salzl I didn't create any token or authorization. Please suggest how to do that.
Thanks,
Sanjana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It´s perfectly described in the documentation. See the following Link:
https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.