Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

using groovy to get custom field value human readable, not the key

Hello, I have a problem getting the value of some customfields. 

In the script, getCustomFieldValue(cField) returns a json object with this look:

{"keys":["Current Value"]}

 

which I would parse easily, but in other cases i get html code with the current value, I guess because that content is created under some nFeed custom field. I was trought database and in table customfieldvalue doesn't appears what I want to get.

 

Apart of that, there are other scriptted fields which I can see trough jira interface in Details tabpanels, but in database are empty. 

So I wonder how can I get the real human readable values of all custom fields of issues? Just like a filter do

 

2 answers

1 accepted

Hello @Javier Pérez 

 

The app nFeed is now called Elements Connect, and you'll find some help on how to get Elements Connect field display value over on our documentation.

 

If you need help, don't hesitate to reach out to our support team: https://support.elements-apps.com/portal

Hi @Javier Pérez 

Sorry for the late response.

Custom fields might use custom renderers which means that they will only have human-readable values with their appropriate values. For example the Rank custom field which comes with Jira Software stores value of something like "0|r90udo:I". 

nfeed might store XML, while other apps store different typed values.

So, you might not get a proper answer for your request.

I hope I was clear

Tuncay

Suggest an answer

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

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

209 views 1 6
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