On this page |
Run automation actions directly from the UI.
%variable_confluence% -a getSpaceList
where confluence is configured as -s https://examplegear.atlassian.net -u <user email> -t <token>
The Run CLI Actions menu items is located in the ADVANCED section of the System tab. There is also a RUN CLI ACTIONS IN JIRA section on the Apps tab.
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.
--action run --common "--project ZJCLIP2 --dateFormat yyyy-MM-dd" --findReplace #duedate#:2016-05-01 --server %base_url% --password automation |
--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" |