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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,460,393
Community Members
 
Community Events
176
Community Groups

Export data from Jira using APIs

Hi,

We are looking to introduce agents model in our business who will be referring lot of customers to us. Unfortunately we can’t give Jira access to all agents as it will increase our costs (we are using Jira software at the moment). Also there is an issue with not being able to create our own reports. So to address these 2 issues, we hired a team of web developers who are going to create agents portal and also user dashboards. In agents portal we want to show the agents cases (agent email id in on if the fields is uniq agent id) that are referred by us and dashboards highlighting their performance and bonus. Can u please help us with pointing out which APIs our dev team should use to achieve the below,

1) Extract data from Jira (all issues and fields related to it) on regular basis using APIs

2) once full data is extracted, from the next extract, only extract info related to newly created issues and updates issues

3) Create a new issue every time an agent registers a lead on the website.

Thank you,

Vamshi.

 

3 answers

0 votes

Hello @Nirvana Admin Team @Dario B 

 

In Order to Export Search Issues using API. Does anyone have idea on this.

Any leads will be helpful.

 

Thanks in Advance.

0 votes
Dario B Atlassian Team Apr 08, 2021

Hello @Nirvana Admin Team ,

Welcome to the Atlassian Community!

Together with the guidelines already provided by @Prince Nyeche  I'd like to also mention that you can find all the development documentation for Atlassian Cloud applications by clicking on the below link:

 

Also, as an alternative to point #2, you can also use a Jira Automation instead of a Webhook as explained in below thread:

 

Finally, in case further help would be needed on development related topics, you may want to reach to the resources listed in: https://developer.atlassian.com/resources/

Specifically:

 

 

Cheers,
Dario

Thank you very much @Dario B @Prince Nyeche

can the developers use Search API (https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/search-search) to get all issues at the first instance to load on our external database. And then on use webhooks or API @Dario B suggested to keep it up to date?

Dario B Atlassian Team Apr 13, 2021

Hello @Nirvana Admin Team ,

Whether it is better to use Webhooks or an Automation it really depends on your requirements and the involved scenario. 

However, being on a Free plan, you have some limitation on the number of automation rules executions that you should be aware of. Please see below page for details:

0 votes

Hi @Nirvana Admin Team 

In order to create an agent portal separated from JSM, you have to design the system so it uses an automated bot user as authentication to connect to Atlassian apps. Then you can design a login access system to use that single automation user by the various agent. So each agent can have an independent access to your custom portal, retain their individuality which uses a single bot user access to Atlassian app.

1) You can use the search for issue JQL for extracting issues. That way you can fine tune the issues you hope to extract.

2) I think you should go with Jira webhooks here, it can notify you when an issue is created with the payload.

3) That can simply be done with Jira's own automation feature. So you need to do a configuration that can work dynamically here.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events