It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes

Hi again!

Is there any opinion on the matter?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted 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 ...

679 views 7 0
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you