Available on Xporter for JIRA 5.0.0 or later.
This is not applicable to Xporter for JIRA Cloud.

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

 

Insight Object (single select)

Xporter for JIRA allows the rendering of the Insight Object (single select) custom field.

Definition:

Let's imagine that 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)

Xporter for JIRA allows the rendering of the Insight Referenced Object (single select) custom field.

Definition:

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

${Insight Referenced 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 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 the rendering of the Insight Object (multi select) custom field.

Definition:

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

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

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

As you can see, 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)

Xporter for JIRA allows the rendering of the Insight Referenced Object (multi select) custom field.

Definition:

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

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

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

As you can see, 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}

 

 

  • No labels