Using the Command Line to Create Screen Schemes on Jira Server/DC
Jira Administrators can create screen schemes in Jira Server/DC via the command line using the renderRequest
action.
Screen schemes can also be created via the graphic interface.
For more information on managing Jira screen schemes, see:
https://support.atlassian.com/jira-cloud-administration/docs/manage-screen-schemes/
https://confluence.atlassian.com/adminjiraserver/project-screens-schemes-and-fields-938847220.html
NOTE
The Jira Rest API does not have a functionality for creating screens and schemes. You can only do so through the command line.
The command line works on Jira Server, Jira DC and Jira Cloud.
Ensure to have a backup of your data before making changes that can result in data loss.
CREATING A SCREEN SCHEME
To create a screen scheme, use the commands as follows:
Copy code--action renderRequest
--url "/secure/admin/AddFieldScreenScheme.jspa"
--requestParameters "fieldScreenSchemeName=<NAME>&fieldScreenSchemeDescription=<DESCRIPTION>&fieldScreenId=<ID OF DEFAULT SCREEN>"
For addScreenScheme
, the fieldScreenSchemeName
parameter is mandatory, the other two fields are optional.
If fieldScreenId
is not provided, the Jira default screen scheme is used.
CREATING A FIELD CONFIGURATION
To create a field configuration, use the commands as follows:
Copy code--action renderRequest
--url "/secure/admin/AddFieldConfiguration.jspa"
--requestParameters "fieldLayoutName=<NAME>&fieldLayoutDescription=<DESCRIPTION>"
For addFieldConfiguration
, fieldLayoutName
is mandatory in the field configuration name, additional parameters are optional.