Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add more advanced example
Div
idProductTOC

On this page

P
Table of Contents
maxLevel1
typeflat
separatorpipe

Summary

A new feature is available with release 4.0 that provides:

...

The Run CLI Actions menu items is located in the ADVANCED section of the System tab. For release 4.2 and above, there is also a RUN CLI ACTIONS IN JIRA section on the Add-ons tab.

 

Run CLI Actions

Create Project From Template

This is similar to the example from How to create projects or sets of issues based on a template. In this case, you can save the template action for easy reuse.

Image Added

Code Block
languagetext
titleAction
--action run --common "--project ZJCLIP2 --dateFormat yyyy-MM-dd" --findReplace #duedate#:2016-05-01 --server %base_url% --password automation
Code Block
languagetext
titleData
--action createProject --lead automation

--action createIssue --type improvement --summary "Phase 1" --date #duedate# 
--action createIssue --parent @issue@ --type sub-task --summary "Task 1"  
--action createIssue --parent @issue@ --type sub-task --summary "Task 2"  

--action createIssue --type improvement --summary "Phase 2"  
--action createIssue --parent @issue@ --type sub-task --summary "Task 1" 
--action createIssue --parent @issue@ --type sub-task --summary "Task 2"