Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Jira Cloud Forms Data connection can not add a Jira REST Cloud API


I'm working to make Jira Insight Objects be populated into Forms fields and tried to add a Data Connection to load Insight Objects:{workspaceId}/v1/iql/objects?iql={iql syntax} 

It's a successful response via Postman but returns 401 
Authentication failed error with Form Data Connection (I used the same token with the header: Authorization - Basic {base64 encoded token} via Postman and it works fine).

I retried with a simple Cloud REST API request via the Data connection and it still failed.

- Successful Cloud REST API call via Postman:


Screen Shot 2022-06-20 at 10.58.43.png

- Failed call via Forms Data Connection:

Screen Shot 2022-06-20 at 11.14.24.png
Screen Shot 2022-06-20 at 11.04.06.png

The key point difference here is the Data Connection uses the "Bearer" prefix for the Authorization header but the Cloud REST API uses the "Basic" prefix, I can't figure out a way to make these 2 mechanisms work together. I tried with the not encoded Base64 token as well but still does not work.

NOTE: I'm able to make a working Data Connection with Tempo REST API which also uses "Bearer" prefix for the Authorization header.


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,125 views 34 44
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