Forums

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

Accessing custom field names shows blank

jasper.hoevenaars June 6, 2023

In jira automation I'm trying to inherit the team field values from parent issues when making stories:

Our hierarchy is as follows:

Feature

   Story

To get this to work, I first log some values to see if I can access the information that I need, however, I fail already there. The custom field XML of my stories look like this:

 

<customfield id="customfield_10101" key="com.pyxis.greenhopper.jira:gh-epic-link">
<customfieldname>Feature Link</customfieldname>
<customfieldvalues>
<customfieldvalue>DEWTIQR-1243</customfieldvalue>
</customfieldvalues>
</customfield>
And for the field that I want to inherit from the Features it looks like this:
<customfield id="customfield_10125" key="com.atlassian.teams:rm-teams-custom-field-team">
<customfieldname>Team</customfieldname>
<customfieldvalues>
<customfieldvalue>
<![CDATA[ 33703 ]]>
</customfieldvalue>
</customfieldvalues>
</customfield>

in the log I've tried the following options:
to just get the feature link:

Parent is '{{issue.Feature Link.value}}' or '{{issue.Feature Link}}'
Parent is '{{issue.customfield_10101.value}}' or '{{issue.customfield_10101}}'

Parent is '{{issue.parent.value}}' or '{{issue.parent}}'

Or to get the team I just added .team.id to the above. This is all showing up empty, am I missing something?

0 answers

Suggest an answer

Log in or Sign up to answer