How to get a value of one custom field by XML export of issue

Dear, colleagues!

By XML export of an issue the all custom fields are get out in a cycle. We need to get the values some of them, not all. Wich variable could we use to get it by the piece like assegnee or status?

I tried different variants but they didn't help (e.g. for CF_10400):

#if ($issueXmlViewFields.isFieldRequestedAndVisible('customfield_10400'))
	<MY_TAG_0>#xmlEscape($issue.customfield_10400))</MY_TAG_0>
	<MY_TAG_1>#xmlEscape($issue.getCustomFieldXML('customfield_10400'))</MY_TAG_1>
	<MY_TAG_2>$xmlView.getCustomFieldXML('$issue.customfield_10400')</MY_TAG_2>
	<MY_TAG_3>#xmlEscape($layoutItem.orderableField.name)</MY_TAG_3>
	... many of others ... )))
#end

Could you suggest us the right variable.

 

Thanks in advance for your support!

Regards

Vyacheslav

 

1 answer

This widget could not be displayed.

Hi again!

Is there any opinion on the matter?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted an hour ago in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

9 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you