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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published Monday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

511 views 8 9
Read article

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