How-to change the field order on the automatically rendered create form
Issue Forms requests the available fields when rendering the create form from Jira. Unfortunately this list is not sorted and can differ from call to call.
For this reason, we sort the fields as follows:
First the mandatory fields sorted alphabetically
then the non mandatory fields sorted alphabetically
and lastly the comment field
Version 2.4.0 introduces a extended Rest endpoint. The field sorting within the automatically rendered create form can be changed using this Rest endpoint.
Only Confluence Administrators can access the functions described here.
Check current Configuration
Confluence Administrators can check the current configuration using this URL:
https://YOUR_CONFLUENCE_SERVER/rest/aevolu/jinc/1.0/admin/configuration/presorted
Change the sort-order for a specific project
The configuration can be customized using two parameters.
Parameter |
|
---|---|
projectId | The technical id of the project (e.g. 10421) |
sortedFieldIds | Comma separated list of field Ids (e.g. priority,summary,duedate) |
The request (URL) then looks like this:
The automatically rendered create form will look like this
Remove your sort-order configuration
The configuration can be deleted via this URL:
https://YOUR_CONFLUENCE_SERVER/rest/aevolu/jinc/1.0/admin/configuration/presorted?projectId=10421
The automatically rendered create form will look like this