Forums

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

Use api jira "/rest/api/2/search" JQL + parent KEY

Erick Narvaez October 11, 2023

Hello everyone..

Mi Question is:  Is it possible to use the api,  .../rest/api/2/search
With JQL  and  parent key.

The objective is to use jql to filter the subtasks of a ticket

Request:

"parent":
{
"key": "XXXX-193"
},

 


{
"jql": "project = XXXX",
"startAt":0,
"maxResults":100,
"fields":[
"id",
"key",
"status",
"summary",
"issuetype",
"created",
"customfield_12418",
"issuelinks"

]
}

1 answer

0 votes
S Naveen Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2023

Hi @Erick Narvaez ,

Thank you for reaching out to Atlassian Community!

Please try the below and see if that helps as per your use case.

https://<site-name>.atlassian.net/rest/api/2/search?jql=parent=<issue-key>

Thanks

Suggest an answer

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

Atlassian Community Events