Get your own customer support community
 

How do you add labels via the API?

When creating a story via the API, I'd like to add labels to the story. I would expect for something like the following to work (in Ruby), but it doesn't:

Story.create(:name => 'Story Name', :labels => 'label1, label2', :project_id => PROJECT_ID)

which would add 'label1' and 'label2' to the story. Is there a way to add labels to the story via the API?
 
indifferent I’m frustrated
Inappropriate?
1 person has this question

The company marked this question as answered.


User_default_medium