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

Data connections with Jira API

Matt Harford April 6, 2022

Hi There,

We are trying to use the new Forms functionality in JSM to have a dropdown which shows the a list of users, which is maintained via a group. I'm open to other ways to do this, but it seemed like we might be able to use the "Data Connection" option and the Jira API to do this, but we are running into barriers:

We have the following API call:

 https://uwaterloo.atlassian.net/rest/api/3/group/member?groupname=IST-TS&Admins

 (We are trying to get the membership of the group "IST-TS Admins")

With authentication set to custom, and then an an API token that I created for myself. We get authentication error 401:

"Authentication failed

Unable to connect because authentication failed. Please go back and check that username and password have been specified correctly"

 

I also tried to use an API key created in Atlassian Admin instead of Jira - and we get error 403, forbidden - the response talks about making sure the scopes arrest correctly, but there is nowhere to do that within the forms data connection interface.

 

I'm admittedly new to this, but is this something that should work? Is there an easier way to populate a drop down list based on group membership?

 

1 answer

0 votes
JCameron August 30, 2024

Did you happen to figure out how to use the Jira API as a data connection? I wanted to do something similar to allow someone to select from a list of Jira issues.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events