Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3
minLevel3
typeflat
separatorpipe

Summary

For JIRAJira, you may want to allow a certain set of users the ability to create a new project in a standard way without granting them JIRA admin them Jira administrator authority. This shows how to set up a self service CLI page for this. You can restrict the page to the appropriate subset of users that need this capability. This works by running the actions under a specific JIRA specific Jira administrator profile, but by controlling what can be done. 

...

  1. Configure Run CLI Actions in Confluence with appropriate profile for JIRA for Jira that has administration permissions.
  2. Install RUN.
  3. Install CMSP and secure the ability to use the cli macro to only jira-administrators or equivalent.
  4. Create a page similar to the example below to a suitable location. Use Insert - > Markup or do equivalent via Macro Browser.
    • Add more replace parameters if you need to give users more control over scheme setting, etc...
    • Add more parameters to the createProject action to enforce any standards you have for projects.
  5. Restrict edit permission on the page to jira-administrators or equivalent (must be permitted by your macro security configuration).
  6. Restrict view access to the page to only users that you want the ability to create projects.

Example

This example requires a project name and key. It defaults the project lead to the current logged-in user. This uses wiki markup (Use Insert - > Markup) or you can do the equivalent via Macro Browser.

No Format
titleExample page
h3. Description
Use this page to create a standard JIRA project

{run:id=cli|titleRun=Create JIRA project|replace=name::Project name:text-required,key::Project key:text-required,lead:$current_user_id:Lead:text-required}

{cli:profile=jira}
--action createProject --project "$key" --name "$name" --lead "$lead"
{cli}

{run}

Macro Browser View

Image RemovedImage Added

Screen shot