Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.
Yakov edited this page Jan 13, 2019 · 3 revisions
1. How to retrieve a value from Key/value list custom field?

For example if ID of key/value custom field is 1:

  • cfs[1].try(:id) will return ID of selected value
  • cfs[1].try(:name) will return name of selected value
2. How to get access from current issue to its project custom field?

project.try(:custom_field_value, 1) Where 1 is current project custom field ID.

Clone this wiki locally