Forums

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

Logs shows in project that was before move action API

İclal Aslan
Contributor
September 12, 2025

I’m trying to get the worklogs of issues via the API. For records that were previously moved from project X to project Y, the worklogs still appear under the old project. For example: an issue was in project XYZ, a worklog was entered in January, then the issue was moved to project ABC. Now, those worklogs should appear under project ABC, but they are still showing up under project XYZ. How can I fix this?

1 answer

0 votes
Matteo Vecchiato
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2025

Hi @İclal Aslan ,

In my understaing there isn't a way to get the old worklog with new project key.

Maybe the solution is getting all the project keys of the project (new key and old key) and replace the old with the new one.

This api should help you on getting both project keys:

https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-projects/#api-rest-api-2-project-projectidorkey-get 

Using the parameter "expand" with "projectKeys"

I hope it helps

Suggest an answer

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

Atlassian Community Events