Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence jira issue macro uses space to separate multiple values, why?

Barry Kaplan
Contributor
May 3, 2018

In a filter within jira, a multiple value field will show the values comma separated. But when using the confluence jira macro that multiple value field will shows the values separated with spaces. 

This seems like a bug. Especially for the case when the field values themselves contain spaces.

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 4, 2018

Hi Barry,

Please help me understand where you are seeing the space-separated values in Confluence. Perhaps it would help if you post a screen shot.

Here is a sample of a Jira filter in Jira and Confluence. The multi value field is "project" and it uses a comma in both Jira and Confluence. When I removed the comma in Confluence I got a JQL syntax error.

Jira:

Screen Shot 2018-05-04 at 11.33.16 AM.png

Confluence:

Screen Shot 2018-05-04 at 11.33.00 AM.png

 

Thanks,

Ann

Barry Kaplan
Contributor
May 4, 2018

Ann, I am not referring to the query, but to the rendered output of the macro.

I can't show it in the edit view, because that view is not scrollable to see all the columns. But in the screenshot below the "Employee Roles" field is a "Select List (multiple choices)" custom field. The values "CISO" and "Employee" are two values assigned to the field for the issues. As you can see the values are separated by space.

In Confluence: 

Screen Shot 2018-05-04 at 12.23.55 PM.png

But in the filter view they are separated by commas.

In Jira:

Screen Shot 2018-05-04 at 12.25.18 PM.png

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2018

I am seeing the same behavior on my test instance so I opened a bug report for the development team: Jira Issues Macro displays multi-select custom fields separated by spaces

Please comment or vote on the bug report to communicate directly with the dev team and add weight to your use case.

Barry Kaplan
Contributor
May 7, 2018

That issue is for server. I am on cloud.

(The issue did not let me make any edits or even comments)

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2018

You have to be logged into the bug tracker to make comments or vote, etc. I opened the same bug report for the Cloud project since you are seeing the behavior there as well: Jira Issues Macro displays multi-select custom fields separated by spaces 

I am sorry I did not notice which platform you were on but apparently, the issue is present in both. Thanks for pointing it out.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events