Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

getCustomFieldValue returning wrappers for unknown reason

Connor Jakes June 5, 2018

When I call getCustomFieldValue on a nFeed custom field, and try to append the value to issue.setSummary, I get

 

<content> <value> 81949</value> </content> 

 

instead of just the value 81949.

I noticed in the rest json the value is wrapped in square brackets, but I don't know what that means, or why.

1 answer

1 accepted

0 votes
Answer accepted
Tuncay Senturk _Snapbytes_
Community Champion
June 5, 2018

nFeed values are wrapped with those Xml elements for standard fields because of JSD support. If you are not using this field in a Jira SD, you can try using the nFeed (deprecated) field.

Here is the link for deprecated field:

https://valiantys.atlassian.net/wiki/spaces/NFEED59X/pages/82773038/Deprecated+nFeed+field 

Suggest an answer

Log in or Sign up to answer