Forums

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

R4j API get context field

PZ April 1, 2024

When reading out the tree in a recursive manner one gets some attributes with each issue (such as isFolder) but not its context fields. Is there a way to retrieve them?

.../issuetypescreenschemes gives the layout/structure, but not the concrete value per issue

and the documentation seems rather confusing to me

1 answer

1 vote
Edmer John Sarmiento April 1, 2024

Hi @PZ

You can get the value of the issues and folders through Jira REST APIs: https://docs.atlassian.com/software/jira/docs/api/REST/8.22.3/#issue-getIssue or https://docs.atlassian.com/software/jira/docs/api/REST/8.22.3/#search-search. This is the same way we are retrieving all the field values from each issue in R4J views alongside with R4J REST APIs.

Best regards,

Edmer

PZ April 9, 2024

I see. I think I understand the structure now. Thank you.

One last thing: When reading the tree structure recursively one gets the Id and the JiraIssueId. When getting an issue in jira one uses the issue key or id, but it seems like the r4j issue id and jira issue id aren't equivalent. Am I wrong or is there some way to get the jira issue from the r4j tree issue?

I hope my question is somehow understandable

Bernhard Doleschel (Ease Solutions)
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 Leaders.
April 10, 2024

Hello PZ,

which API do you use to retrieve the R4J tree?

With our REST API ...projects / {projectKey} / items / ... 

you should get the jiraIssueId , this matches the Jira ID´s.
(See our REST documentation)

Does it work? If not, please open a ticket on our friendly service desk.

 

Best Regards,

Bernhard from Ease Solutions

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events