nFeed Custom field value

Neha Sharma
Contributor
July 19, 2018

Hi all,

We have an nFeed custom field where we get the values from our internal database. The nFeed custom field is configured based on the id (in this case a product key) and the display value is the name (in this case the product name). All of this works fine.

 

Now, we have a SIL script where we pick the values of a few custom fields when an issue is created. When I pick the value of this nFeed custom field, the value is the product id and not the product name. I use the below code to get the value of the custom field.

 

I want to get the "display value" of this custom field. Is it possible to do this in the same SIL script that I'm using ? Or any other way to achieve the same?

if (isCustomFieldInContext("Product",projectKey,"Incident")) {
projectName= #{Product};
} else {
projectName= "";
}

Thanks in advance,

Neha

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events