How-to change the field order on the edit dialog

Issue Forms requests the editable fields when opening the edit dialog 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.3.0 introduces a new Rest endpoint. The field sorting within the edit dialog 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

 

Parameter

 

projectKey

The current key of the project

sortedFieldIds

Comma separated list of field Ids (e.g. comment,duedate,summary,customfield_10212)

The request (URL) then looks like this:

https://YOUR_CONFLUENCE_SERVER/rest/aevolu/jinc/1.0/admin/configuration/presorted?projectKey=TESTSTDF&sortedFieldIds=comment,duedate,summary

The edit screen 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?projectKey=TESTSTDF

The edit screen will look like this