Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

can't create issue w/ labels via API on some backlogs/boards

Ken Yee I'm New Here May 10, 2021

I have code that works fine to create an issue on some backlogs but on others, the labels are not set.  There's no error from the JIRA server.


The JSON being sent looks like this:
"fields": {
"project": {
"key": "APAI"
"summary": "H2 PreWork",
"description": "test",
"issuetype": {
"name": "Task"
"labels": [
"priority": {
"name": "Medium"


The response that comes back has zero errors:

but when you look at the ticket, the labels are missing.

The identical code works fine on a different backlog.

And you can add new labels to this backlog if you edit the ticket/'s not like it's blocking any new labels from being created.



1 answer

0 votes
Ken Yee I'm New Here May 11, 2021

Turned out it was because there was an automation rule on this backlog that mucked w/ labels (set them based on content in the ticket).

This caused it to blank out the labels that were sent in via the API :-(

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you