Forums

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

could not find issue by id or key while selecting parent issue

zohaib aslam January 30, 2025

I am using jira rest api with oauth authenitcation to fetch and create issues. While creating issue with a parent I got the error of could not find issue by id or key. I have double checked it with my account the issue is active and there I own the projects and issues but in creating subtask it gives me this error 

1 answer

0 votes
Benjamin
Community Champion
January 30, 2025

Welcome @zohaib aslam .

 

It's probably the way the API call was made. By the error message, it doesn't look it the value was submitted correctly where Jira could use it to find the parent.

 

This article is similar to your issue. You may want to give this example a try and see if you are able to do it:

 

https://community.atlassian.com/t5/Jira-questions/Getting-key-or-id-is-required-error-message-while-creating-sub/qaq-p/1437368

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events