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

Your Points Tracker
  • 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
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?
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

Issue REST API, parent fields Edited

Is there a way to retrieve a particular parent field?



I also want to get a field from the parent (say a custom field.)


3 answers

1 accepted

1 vote
Answer accepted

Not in one api call.

Query for the parent from the issue, then hit the API again with the parent issue key.

I'm seeking a feature request to solve this issue. Please consider upvoting

I am using the JIRA Cloud v3 Rest API and at least the search endpoint supports the "parent" field. Edit: But only for Task/US->Subtask and not Epic->Task/US. 😪



// see "parent" in fields: ...

let searchRequest: SearchRequestBean = {
jql: `project = ${projectKey}`,
expand: ["renderedFields"],

fields: ["key", "summary", "description", "assignee", "reporter", "watchers", "labels", "issuetype", "comment", "status", "worklog", "parent"],

startAt: dlHandle.currentItemCursor,
maxResults: maxResultsThisRound,

let axiosResult = await backOff(()=>{
return this.apiSearchIssues(host.baseUrl).searchForIssuesUsingJqlPost(searchRequest);
startingDelay: FetcherImpl.backoffStartingDelayMS,
numOfAttempts: FetcherImpl.backoffRetryAttempts


Suggest an answer

Log in or Sign up to answer

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