Usage of variables in description templates
We ran into an issue regarding the description templates. We have an proprietary integration with Jira, where we create a release version and update the fix versions field after merging into master. To get the affected issues from an MR we use the api's /closes_issues
endpoint.
When we don't apply a specific description template it automatically sets the description like Closes PRO-XXXX
and that will make sure that the MRs are closed and will be listed properly. However when we use the description template it completely overwrites this. This causes that the MRs won't be set to close and the /closes_issues
endpoint returns with an empty list.
Is there some way that we can use some variables that we can use in the description template to include the Closes PRO-XXXX
into this template, automatically resolving the correct issue like the default, or merge it with the default in some way?