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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.