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)
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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