The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira rest api to fetch service requests logged into that jira account

Yamini Vadlamudi
May 24, 2023

We have tried fetching tickets and requests that are created in Jira portal withtin our account using jira rest-api. But unable to fetch the data getting []. Need help on how to access the data using jira rest-api's?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alex Koxaras -Relational-
Community Champion
May 24, 2023

Hi @Yamini Vadlamudi and welcome to the community,

Which endpoint are you using, and how do you authenticate to send the request? Is your user a customer or an agent/admin etc?

Yamini Vadlamudi
May 24, 2023

Hi Alex,

 

We have admin user and using the below endpoint . We are authenticating using api_key token which we are generating in the admin profile.https://your-domain.atlassian.net/rest/api/3/projects/

Alex Koxaras -Relational-
Community Champion
May 24, 2023

Thanx Yamini for clarifying a few things. One more question: Do you want to get the request types of your raised issues, or the projects inside your jira instance?

For all projects, the correct endpoint is without "s":

https://yourdomain.atlassian.net/rest/api/3/project
Yamini Vadlamudi
May 24, 2023

Hi Alex,

I need the projects inside the jira instance and the tickets raised

Tried  with https://yourdomain.atlassian.net/rest/api/3/project and getting [] data though when I access the https://yourdomain.atlassian.net/servicedesk/customer/portal , I am seeing projects.

 

Is the api_key which we are creating has the admin url and projects are in https://yourdomain.atlassian.net/servicedesk/customer/portal is that is causing the issue?

TAGS
AUG Leaders

Atlassian Community Events