I have string (comme separated values) of labels which I want to add to an existing issue using jiraEditIssue within a Jenkins pipeline. The labels are defined as follows
jiraLabels = "Label1,Label2,Label3"
So how to I add all lables to the issue
def modIssue = [fields: [
project: [key: jiraProjectKey],
labels: [ jiraLabels ]
]]
response = jiraEditIssue idOrKey: currentIssueKey, issue: modIssue