Forums

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

Jira Custom Field Properties doesn't exist

mliu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 31, 2022

Hello,

I am attempting to access the `properties` field on a custom field with Jira Smart values inside Jira automation. For example, with the reporter field (not custom), I can do :

issue.reporter.properties returns 

response :  `jsw-onboarding-checklist.open-task, metadata, jira.user.issue.should.show.welcome.message, jsw-onboarding-checklist.create-project-task, navigation_next_ui_state, jsw-onboarding-checklist.dismissed, jsw-onboarding-checklist.has-ever-seen-route, help_button_ui_state, jsw-onboarding-checklist.open`

 

 

however when using a custom field, doing the same thing returns null

issue.customfield_XXXXX.properties 

response : null

 

 

both `issue.reporter` and `issue.customfield_XXXXX` return an object that looks like a user : 

 

Why can't i access `properties` on the custom field?

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 6, 2022

Hello @mliu

Thank you for reaching out.

For custom fields, a specific set of smart values are configured to return the available properties. You can check them in the documentation below:

Available properties for Custom fields

Screen Shot 2022-06-06 at 16.18.12.png

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events