I'd like to ask what would be the best practice to retrieve data from JIRA server? I have to find the most efficient way (in terms of response time or loading time) to load a bunch of issue-IDs.
I have full access to JIRA server so all ways are considerable (RESTful \ SSH \ command-line etc. - you tell me please).
Assumptions: My JIRA server is running on Windows server but in near future we plan to move it to Linux (I have to support both options)
JQL is not JIRA SQL. It has a lot in common with SQL, but it is not SQL, it's Jira Query Language. SQL returns selections of data, JQL gives you a list of pointers to issues and nothing else. Anyway, Rahul's question is valid - why are you doing this? Not the how, but why? What can't you do in JIRA that you think you want to scrape out to another system? And then to answer the question too - use REST. It's platform independent (doesn't matter what your database or server operating systems are), it does not change much (and when it does, it's almost always more functions and existing ones do not change), it gives you standardised output, and you can run searches with it. Whatever method you use WILL run on the server.
Thanks! "What can't you do in JIRA that you think you want to scrape out to another system?" I have to generate a list with issue IDs (a combo-box) in a different system where I can provide a link to an Issue ID. One more question about REST: does it really runs fast with JIRA? i.e. it's based on URLs and browsers, and I saw sometimes it could ran slower than using a native command-line on the server side. Is this correct or I should prefer REST anyway? Thanks again
Definitely use REST for that. A "server side" command has zero advantages, as you need to use either a scrape via the ui (ugly and slower), a direct database read (often painful to construct and you don't want to have to issue it or maintain it) or a REST call. JIRA has *no* command line options, it's a service built to serve a web-application.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot