To learn more about Tempo products, please visit our Help Center. For support, see our Support Portal.
Removing orphaned plans when associated Jira issues are deleted
This artical is for Cloud
Summary:
When an issue is deleted in Jira and the option “Delete plans when associated issues are deleted” is unchecked, the related plan remains visible in Resource Planning and cannot be manually deleted. Attempting to delete it results in the following error:
“You cannot edit issue for the selected issueID. Either the issue does not exist or you do not have permission to edit it.”
Resolution
The only way to remove the orphaned plan is by using the Tempo API.
Endpoint:
DELETE https://api.tempo.io/4/plans/{id}Steps to retrieve the Plan ID
Open Developer Tools in the browser (F12 or Ctrl+Shift+I).
In Tempo, navigate to the plan and click ⋯ → Delete → Delete.
In the Network or Console tab, locate a request similar to:
404 DELETE https://app.tempo.io/rest/tempo-planning/2/plan/{id}Copy the {id} from that URL — it represents the Plan ID.
Use the DELETE endpoint above to permanently remove the plan.