Update NULL customfields via REST API (jira-ruby)

I'm specifically working with Ruby jira-ruby but I'm having trouble even finding examples in the Atlassian Tutorial on how to do this -- which makes me suspicious.

I create an issue and some custom fields are NULL and others are populated.

For those custom fields that are populated, I can update those fields through the API. Actually I can do this a number of ways with different libraries.

For those custom fields that are NULL I haven't been able to update those fields through the REST API.

Is there a different structure to the JSON for adding a customfield? I'm just trying to update a custom field of "First Name" from NULL to "Tom". it's a simply string, not a drop down or select list. And I'm stuck.

1 answer

This widget could not be displayed.

The issue isn't trying to fill in a NULL field.

The issue is that you have to have a valid issue before you can do this.

I was trying to edit one field, but there were several required fields that weren't popluated. This failed screen validation. this happens when you create a ticket from email.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

593 views 25 15
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you