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

Store display value of nFeed field (json data) into jira database Edited

Hi! I have issues when trying to record data from an option selected in an nFeed custom field. 

The nFeed field gets information from a REST WebService, which returns a Json object like this one: 


This is within the creation of a new Issue. When I'm processing the information of all customfields to save this data into jira database, I can only get the value from the selected option. 

mIssue.setCustomFieldValue(newCf, newCf.getValue(issue));

And this is how it goes all the way to textvalue from customfieldvalue table in jira's DB.

What I need to do is also save the 'key' part of the selected option which is the one I've used for displaying friendly information to the user, but I also need when Visualizing or Editing the Issue, in order not to call nFeed again. 

Is there any way I can store both parts of each option? 

Many thanks in advance for reading. I hope someone could help me. 


1 answer

0 votes
Ana_Retamal Atlassian Team May 08, 2017

Hi Bárbara! This looks like a developer question, so it would be better to post it at That's where our developer community hangs out :)



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Desk

The Complete Guide to Atlassian for ITSM

Hi Atlassian Community! This is Teresa from the Atlassian team. My colleague Paul Buffington @Buff and I are excited to share a brand new ITSM resource we’ve created – "The Complete Guide to At...

596 views 7 12
Read article

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