Add user-agent to JIRA API calls
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Release notes
API calls made to the remote JIRA URLs when integrating with JIRA now carry a User Agent identifying the GitLab version.
Problem to solve
To allow easier identification of source of API calls received at the JIRA end (for ex. when tracking security related events, troubleshooting integration issues, etc.) the requests sent should carry at least a user agent header in it.
A correlation ID value in a header could also be useful if it would be acceptable by the JIRA servers.
Proposal
Same as issue #18288 (closed) but applies to GitLab's JIRA client implementation: https://gitlab.com/gitlab-org/gitlab/blob/v14.2.5-ee/lib/atlassian/jira_connect/client.rb#L115-121
Edited by 🤖 GitLab Bot 🤖