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)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs