Page tree

You are on the Xporter Server documentation. If you are looking for Xporter Cloud documentation, you can find it in this page.

Skip to end of metadata
Go to start of metadata

Available on Xporter for Jira 5.0.0 or later.

If you want to know more about the Insight objects, please visit the Insight Documentation


Insight Object (single select)

You can render an Insight Object (single select) custom field.

Definition

Let's say this Insight custom field is named "Insight Object (single select)." The definition will be:

${Insight Object (single select).<attribute>}

As you can see, the mapping will be the name of the custom field followed by the attribute name, whichever might it be.

Expand to see the example on sample code
${Insight Object (single select).Soc Security No}
${Insight Object (single select).Role}
${Insight Object (single select).Created}
${Insight Object (single select).Salary (USD)}
${Insight Object (single select).Updated}

Insight Referenced Object (single select)

You can render an Insight Referenced Object (single select) custom field.

Definition

Let's say this Insight custom field is named "Insight Referenced Object (single select)". The definition will be:

${Insight Referenced Object (single select).<attribute>}

The mapping will be the name of the custom field followed by the attribute name, whichever might it be.

Expand to see the example on sample code
${Insight Referenced Object (single select).Soc Security No}
${Insight Referenced Object (single select).Role}
${Insight Referenced Object (single select).Created}
${Insight Referenced Object (single select).Salary (USD)}
${Insight Referenced Object (single select).Updated}

Insight Object (multi select)

Xporter for Jira allows you to render the Insight Object (multi select) custom field.

Definition

Let's say this Insight custom field is named "Insight Object (multi select)." The definition will be:

${Insight Object (multi select)[n].<attribute>}

where n is the index of the Insight Object (multi select) as there can be several. 

The mapping will be the name of the custom field followed by the attribute name, whichever might it be.

Looking at the example below, we need to iterate over the Objects in this custom field so we can get all the values from each one. If you already know how to iterate over the Jira Issue comments, for example, this should be similar. 

Expand to see the example on sample code
#{for Insight Object (multi select)}
	${Insight Object (multi select)[n].Soc Security No}
	${Insight Object (multi select)[n].Role}
	${Insight Object (multi select)[n].Salary (USD)}
	${Insight Object (multi select)[n].Created}
	${Insight Object (multi select)[n].Updated}
#{end}

Insight Referenced Object (multi select)

You can render an Insight Referenced Object (multi select) custom field.

Definition

Let's say this Insight custom field is named "Insight Referenced Object (multi select)." The definition will be:

${Insight Referenced Object (multi select)[n].<attribute>}

where n is the index of the Insight Object (multi select) as there can be several. 

The mapping will be the name of the custom field followed by the attribute name, whichever might it be.

Looking at the example below, we need to iterate over the Objects in this custom field so we can get all the values from each one. If you already know how to iterate over the Jira Issue comments, for example, this should be similar. 

Expand to see the example on sample code
#{for Insight Referenced Object (multi select)}
	${Insight Referenced Object (multi select)[n].Soc Security No}
	${Insight Referenced Object (multi select)[n].Role}
	${Insight Referenced Object (multi select)[n].Salary (USD)}
	${Insight Referenced Object (multi select)[n].Created}
	${Insight Referenced Object (multi select)[n].Updated}
#{end}


Insight Object/s

You can render an Insight Object/s custom field.

Definition

Let's say this Insight custom field is named "Insight Objects" The definition will be:

${Insight Objects[n].<attribute>}

where n is the index of the Insight Objects as there can be several. 

The mapping will be the name of the custom field followed by the attribute name, whichever might it be.

Looking at the example below, we need to iterate over the Objects in this custom field so we can get all the values from each one. If you already know how to iterate over the Jira Issue comments, for example, this should be similar. 

Expand to see the example on sample code
#{for Insight Objects}
	${Insight Objects[n].Soc Security No}
	${Insight Objects[n].Role}
	${Insight Objects[n].Salary (USD)}
	${Insight Objects[n].Created}
	${Insight Objects[n].Updated}
#{end}


Exporting Insight Nested Objects

Let's say this Insight custom field is named "Person" and the nested object is "Office".  The definition will be:

${Person[n].Office.<attribute>}

Definition

Expand to see the example on sample code
#{for Person}
	${Person[n].Name}
	${Person[n].Role}
	${Person[n].Salary (USD)}
	${Person[n].Office.Name}
	${Person[n].Office.Organization.Name}
#{end}

Compatibility Matrix


Xporter VersionInsight Version
5.X.X<5.0.0
6.0.0+5.0.0+




  • No labels