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 edited

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
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events