Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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.

 

2 answers

0 votes
Prince Nyeche Community Leader Apr 08, 2021

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.

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:

Suggest an answer

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

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

167 views 6 7
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