Forums

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

JIRA API - get all projects including components

nttinhcmus
December 15, 2019

Hello,

I am working on JIRA Api 2 and trying to get all projects including components using this /rest/api/2/project.

When I get the single project using /rest/api/2/project/{projectIdOrKey}, I also get the components.

My question is how to get multiple projects including components.

Does anyone get the same question. Can you give me a hint.

Thank you

 

3 answers

1 accepted

2 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 5, 2013

Actually, you can use workratio in JQL. See the examples.

David Zuccaro
March 6, 2013

Thanks, that is just what I needed.

1 vote
codelab expert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 4, 2013

This is not possible using JQL. The fields timespent and timeestimate require a time duration value. So you can't compare this fields.

Possible solutions:

[1] write your own plugin

[2] make excel export and compare this values in excel

David Zuccaro
March 5, 2013

Can't JQL create a join to the tempo data?

David Zuccaro
March 5, 2013

Is it not possible to do a "JOIN" between the task table and the relevent tempo table in JQL? Or do I misunderstand the back end of JIRA?

0 votes
Alex Gubar
February 18, 2017

Hi David, 

Script Runned and 

AND issueFunction in expression("","timeoriginalestimate < timespent")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events