How to get the history of issue, like the history of due date or assignee #1507
-
Description of the problem, including code/CLI snippetHow to get the history of issue, like the history of due date or assignee Expected BehaviorGet the history of issues. Actual BehaviorCannot find the corresponding API Specifications
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I don't think this is supported by the API, see https://docs.gitlab.com/ee/api/issues.html#single-issue, so python-gitlab will not be able to fetch this. You might have more luck by exporting the project and inspecting the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quickly replying. Can you show more details on "exporting the project and inspecting the ndjson files"? |
Beta Was this translation helpful? Give feedback.
-
You can export the entire project using https://python-gitlab.readthedocs.io/en/stable/gl_objects/projects.html#import-export. This will give you a tarball with the following structure: https://docs.gitlab.com/ee/development/import_export.html#project Look for |
Beta Was this translation helpful? Give feedback.
You can export the entire project using https://python-gitlab.readthedocs.io/en/stable/gl_objects/projects.html#import-export.
This will give you a tarball with the following structure: https://docs.gitlab.com/ee/development/import_export.html#project
Look for
./tree/project/issues.ndjson
and see if the historical data is there. The ndjson is not very readable but give it a try. But I can't promise anything, this is really up to GitLab whether they store the information, I think it's very limited, but the EE version might actually have everything.