Values from Custom Field not appearing in Confluence Table Filter

Robbie Wareham April 1, 2019

I have created 3 custom field types via a bespoke plugin, all of which appear to work in JIRA.

However, when I use the Table Filter macro in Confluence to retrieve issues from Jira including instances of the custom field types, the column names appear, but all data is empty.  When the query is run in Jira, the issues returned all display values in these fields.

Interestingly, I have some other fields which are scripted using the Adaptavist plugin, and these are correctly displayed in the Table Filter.

I am implementing "edit" and "view" velocity templates, do I need to implement an XML resource too?

To confirm, I am using Server rather than Cloud

Robbie

3 answers

1 accepted

0 votes
Answer accepted
Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 1, 2019

Hello Robbie,

Yes, you need to implement an XML template. XML template is used to export issue field values to Jira Issues macro and some other places.

Robbie Wareham April 1, 2019

Thanks

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 1, 2019

XML template should look like this:

<customfieldvalue>
$value
</customfieldvalue>
Robbie Wareham April 1, 2019

Ah, I added that to my view template, as I saw post where people were talking about customfieldvalue and assume it was HTML

LOL

Just to confirm, I don't need this in the view template as well?

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 1, 2019

No, customfieldvalue is needed for XML only.

KMuthukumar-RP July 21, 2020

@Andrey Khaneev _StiltSoft_ @Robbie Wareham I am facing the same issue. Can you please elaborate little bit on which template you guys are talking about, where this is and what do I need to set?? Thank you

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 15, 2020

Hi @KMuthukumar-RP,

What issue do you experience? In the case above a custom field was created using Adaptavist plugin, but the definition was not complete and the field could not be exported through Jira Issues macro.

Did you create the field by using some kind of programming, or is it a custom field of type available in Jira by default?

1 vote
Uday Joshi
Contributor
September 16, 2021

I'm facing the same issue. Some of the JIRA custom fields don't get displayed immediately on the confluence dashboard created using a Jira filter. 

Can someone help please?

0 votes
Nabeel Ahmed
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 14, 2020

Hello, I'm receiving the same issue on version 7.6.1. A custom field from jira is not being populated in a table created in confluence. Any guidance on how to solve this issue.

Thank You.

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 15, 2020

Hello @Nabeel Ahmed

Did you create the field by using some kind of programming (like in the initial question), or is it a custom field of a type available in Jira by default?

Jira LBProAdmin August 21, 2020

I have the same problem,

I created the custom field by default Jira option.

Oriyah Barzilay
Contributor
July 28, 2021

@Jira LBProAdmin did you figure this out?

Suggest an answer

Log in or Sign up to answer