This issue has been created
There are 4 updates.
 
 
Release Notes Application / cid:jira-generated-image-avatar-6da7098c-d90d-4286-8c32-76ce0d1ba681 RN-117 Open

A change created without an importance is displayed by no release note and no report

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-fc11bdbb-2144-4a36-9d61-82b4f97da460 Vincent Massol created this issue on 09/Sep/26 13:09
 
Summary: A change created without an importance is displayed by no release note and no report
Issue Type: cid:jira-generated-image-avatar-6da7098c-d90d-4286-8c32-76ce0d1ba681 Bug
Assignee: Unassigned
Created: 09/Sep/26 13:09
Priority: cid:jira-generated-image-static-major-ac44fffe-fd5e-4ed3-a271-f8212ce0a158 Major
Reporter: Vincent Massol
Description:

Problem

ReleaseNotes.Code.Change.ChangeTemplate sets audience to user but leaves importance empty, and the getChanges wiki macro declares its importance parameter with the default 0,1,2. A change whose importance was never set therefore matches no filter: it is stored, it is returned by {{GET /wikis/xwiki/releasenotes/

{product}

/

{version}

/changes}}, and it is displayed by no release note and no custom report.

This is not specific to the REST endpoints — the wiki UI, the Java API and the script service all create a change the same way. It was found on a wiki while checking RN-115: four user changes existed for a version, two showed on its release note.

It is silent in both directions. An author who never opens the Importance field gets a change that vanishes; an agent posting changes over REST collects a 201 for each one and an empty release note.

Fix

Give ChangeTemplate an importance the way it already has an audience. Creation is template-driven for every caller, so one value fixes the UI, the Java API, the script service and the REST endpoints at once, and an author who does mean to change it still can.

 
 

4 updates

 
cid:jira-generated-image-avatar-fc11bdbb-2144-4a36-9d61-82b4f97da460 Changes by Vincent Massol on 09/Sep/26 13:12
 
Fix Version: 2.6
Version: 2.7
Assignee: Vincent Massol
Component: Application