This issue has been created
 
 
JIRA Components / cid:jira-generated-image-avatar-be32efdf-598c-40af-8d58-df2d4d2463b2 JIRA-129 Open

Offer the sources, styles and fields of the JIRA macro as lists in the Edit Macro dialog

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-0b58d4e4-4d18-4392-9f5c-d0a374110b33 Charpentier Lucas created this issue on 22/Oct/26 15:40
 
Summary: Offer the sources, styles and fields of the JIRA macro as lists in the Edit Macro dialog
Issue Type: cid:jira-generated-image-avatar-be32efdf-598c-40af-8d58-df2d4d2463b2 Improvement
Affects Versions: 11.1.7
Assignee: Unassigned
Components: JIRA Macro
Created: 22/Oct/26 15:40
Priority: cid:jira-generated-image-static-major-62e662bd-ddd7-43bc-81fa-4482d0d610b7 Major
Reporter: Charpentier Lucas
Description:

The JIRA macro takes the source, the style and the fields in free text fields of the Edit Macro dialog, so the user has to know the accepted values, and a wrong one fails at rendering or renders nothing.

The main problems:

  • The source and the style are fixed lists, which a Java enum would turn into a select with no other change: they do not depend on another ticket.
  • The fields are the fields of the JIRA server, each with an optional label, written in a dedicated syntax: a multiple select of the fields of the server needs a provider.

Depends on

Most of these fields cannot be offered before these generic changes, each giving the macro the means to declare the expected value:

  • XWIKI-23045, which lets a parameter get its values from a provider, with or without custom values.

KOs covered

Macro Criterion Parameter Problem Depends on
jira C4 input-assistance source A free text field for list or jql, where a select could be used: source="foo" is accepted and fails at rendering. -
jira C4 input-assistance style A free text field for table, list or enum, where a select could be used: style="foo" is accepted and fails at rendering. -
jira C4 input-assistance fields A free text field for a list of JIRA fields in a dedicated syntax, where a multiple select of the fields of the server, with an optional label, could be used. XWIKI-23045

Impact found on macro fluidity

These 3 KOs come from the WYSIWYG usability audit of the macros, under the criterion C4 input-assistance of its usability criteria. The page of each macro, linked in the table, has the full notes and the steps to reproduce. Fixing them means changing the declaration of the parameters in the macro definitions.