I'm building a Continous Integration environment with Jira, Jenkins and GitLab. One of the things I need is that every time an issue is created in Jira, a branch is created in Gitlab, with the same name as the issue of Jira, using a job by Jenkins.
Using the Jira trigger Plugin for Jenkins I get that every time an issue is created, the job is launched to create the branch, but what I can not do is read the name of the issue from the jira trigger to name the gitlab branch. Do you know what I can do?
I solved it using the JIRA_ISSUE_KEY variable that it's sent to Jenkins.