How to update the project lead of a project using the Jira Command Line Interface (CLI) app

This article explains how to update the project lead of a project using the Jira Command Line Interface(CLI) app.

Instructions

Use the updateProject action with the project and lead parameters to modify the project lead of the project.

  • For Jira Cloud, use the email Id of the new project lead as the lead parameter value as shown:

    --action updateProject --project ABCD --lead supportrequest@appfire.com
  • For Jira Server/Data center, use the user name, full name or email Id of the new project lead as the lead parameter value as shown:

    --action updateProject --project TEST --lead demo-user
It is recommended to test this scenario in a test environment or run the action with the --simulate parameter to verify the behavior before deploying.