Add IID headers to E-Mail notifications
I would like to use the E-Mail headers to automatically delete email notifications for closed issues/merged MRs. Unfortunately the headers expose the internal IDs instead of the IID. This means I cannot build the API url from the headers below.
For example:
X-GitLab-Project: GitLab Enterprise Edition
X-GitLab-Project-Id: 278964
X-GitLab-Project-Path: gitlab-org/gitlab-ee
X-GitLab-Issue-ID: 14225985
will return a 404: https://gitlab.com/api/v4/projects/278964/issues/14225985
What I would really need is the issue IID (7631
): https://gitlab.com/gitlab-org/gitlab-ee/issues/7631
Proposal: Add new headers X-GitLab-Issue-IID
/ X-GitLab-MergeRequest-IID
respectively which expose the IID.
Edited by Lukas 'ai-pi' Eipert