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

Viacheslav Starovoytov October 27, 2015

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

0 votes
Viacheslav Starovoytov November 1, 2015

Hi again!

Is there any opinion on the matter?

Suggest an answer

Log in or Sign up to answer