Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get all users with REST API in Jira Cloud

Hi,

I am learning cloud development using atlassian-connect-express (ACE) and I am trying to get all users in JIRA to populate some select list.

I am sending requests as described in Connect cookbook.

I've put my javascript code in addon.js which I assume sends requests from user browser.

Endpoints in cookbook such as "/rest/api/latest/project" does work but some endpoints does not work such as "/rest/api/3/users/search". I tried to send same request from postman and it did work.

It gives the error below.

 <div class="aui-page-header-main">↵ <h1>Forbidden (403)</h1>↵ </div><!-- .aui-page-header-main -->↵ </div><!-- .aui-page-header-inner --></header><!-- .aui-page-header -->↵ <div class="aui-message aui-message-warning warning">↵ <p>Encountered a <code>&quot;403 - Forbidden&quot;</code> error while loading this page.</p>↵ <p><a href="/secure/MyJiraHome.jspa">Go to Jira home</a></p>↵ </div>↵ 

 These are the scopes in my atlassian-connect file:

   "scopes": [        "READ""WRITE",  "DELETE""ADMIN""ACT_AS_USER"    ],

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

639 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you