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

R4J - Get folder structure via REST API 2

Franz Schwarzenböck September 24, 2024

Dear Community, 

I´m want to get the requirement tree structure with it´s issues in R4J via REST API. Unfortunately all ways I found in the web were not successful. Accessing special issues, e. g.
.../rest/api/2/issue/SIA-1... works fine. I searched also the following references and got no working version for me. 

https://docs.atlassian.com/software/jira/docs/api/REST/8.22.3/#project-getProjectComponents

https://easesolutions.atlassian.net/wiki/spaces/REQ4J/pages/498270209/REST+API+Tree+Folders

Has anybody a suggestion? Is there something in sense .../rest/api/2/tree/{project key}   ? 
Or does anyone know a further reference? 

Thanks all!

1 answer

0 votes
Edmer John Sarmiento September 25, 2024

Hi @Franz Schwarzenböck

I'm Edmer from EaseSolutions, vendor of R4J plugin.

I would like to confirm if you’re using R4J Server/Data Center or R4J Cloud version?

If you're using  R4J Server/Data Center, you may use the following R4J 2.0 REST APIs: https://easesolutions.atlassian.net/wiki/spaces/REQ4J/pages/1473937542/REST+API+2.0+Reference

To get the complete tree structure with or without issues from the root folder in the tree.

/2.0/projects/{projectKey}/folders

To get the complete tree structure with or without issues from a specific folder in the tree.

/2.0/projects/{projectKey}/folders/{id}

 

If you're using  R4J Cloud, you may use the following: R4J Cloud REST API: https://easesolutions.atlassian.net/wiki/spaces/R4JC/pages/2251948033/easeRequirements+Cloud+REST+API+Reference

To get Tree Item(s)
/1/tree/projects/{projectKey}/items/{idOrJiraIssueKey}

Best regards,

Edmer

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events