I'm trying to add labels to an issue that i'm creating using Clones an issue and Links and Create a subtask scripts post functions.
Any ideas how to do it?
I should use addLabel or setLabels?
Thanx in advance,
You could try that but they take com.atlassian.jira.issue.label.Label objects. Better to use https://developer.atlassian.com/static/javadoc/jira/5.0/reference/com/atlassian/jira/issue/label/LabelManager.html#setLabels(com.atlassian.crowd.embedded.api.User, java.lang.Long, java.util.Set<java.lang.String>, boolean, boolean)
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG