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

Hi again!

Is there any opinion on the matter?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

372 views 6 0
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