Examples

Examples

Action usage examples


addAttachment

--action addAttachment --issue "ZJIRACLI-4" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/data.txt"

--action addAttachment --issue "ZJIRACLIATTACHMENTS-1" --file "-" --name "dataFromStandardInput.txt" --findReplace "xxx:yyy"

--action addAttachment --issue "ZJIRACLIATTACHMENTS-1" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/binary.bin" --name "binaryNewName.bin"

--action addAttachment --issue "ZJIRACLIATTACHMENTS-1" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/binary.bin" --verbose

--action addAttachment --issue "ZJIRACLIATTACHMENTS-1" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/data.txt" --findReplace "xxx:yyy" --verbose

--action addAttachment --issue "ZJIRACLIATTACHMENTS-1" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/data.txt" --name "data"

--action addAttachment --issue "ZJIRACLIATTACHMENTS-1" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/empty.txt"

--action addAttachment --issue "ZJIRACLIATTACHMENTS-1" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/large.zip"

--action addAttachment --issue "ZJIRACLIATTACHMENTS-1" --file "build/output/jiracliattachments/Special name #&_"

--action addAttachment --issue "ZJIRACLIRUNNER-1" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/data.txt"

addAttachments

--action addAttachments --issue "ZJIRACLIATTACHMENTS-1" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources" --regex "((data)|(empty)).*" --recursive

addComment

--action addComment --issue "ZJIRACLI-4" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/data.txt" --findReplace "xxx:yyy"

--action addComment --issue "ZJIRACLICOMMENTS-1" --comment "xxx is xxx" --findReplace "xxx:yyy"

--action addComment --issue "ZJIRACLICOMMENTS-1" --file "/opt/atlassian/pipelines/agent/build/src/itest/jira/resources/data.txt" --findReplace "xxx:yyy" --group "jira-users"

--action addComment --issue "ZJIRACLISUB-3" --comment " time_spent: %original_time_spent% estimate: %original_estimate% original_estimate: %original_original_estimate% parent time_spent: %parent_time_spent% parent estimate: %parent_estimate% parent original_estimate: %parent_original_estimate% "

--action addComment --issue "ZJIRACLISUB-4" --comment " resolution: %original_resolution% resolutiondate: %original_resolutiondate% resolution_date: %original_resolution_date% resolution_date with format: %original_resolution_date(yyyy-MM-dd HH:mm:ss)% now with format: %now(yyyy-MM-dd HH:mm:ss)% " --dateFormat "yyyy-MM-dd HH:mm:ss"

addComponent

--action addComponent --project "ZJIRACLICOMPONENTS" --component "C4" --continue

--action addComponent --project "zjiracli" --name "C1" --description "a generic description"

--action addComponent --project "zjiracli" --name "C1" --description "a generic description" --replace

--action addComponent --project "zjiracli" --name "C2" --lead "developer" --description "a generic description" --defaultAssignee "COMPONENT_LEAD"

--action addComponent --project "zjiracli" --name "swap2" --description "a generic description"

addCustomEvent

--action addCustomEvent --event "zjiraclinotifications1" --description "custom event" --template "Issue Created"

--action addCustomEvent --event "zjiraclinotifications1" --template "Issue Created" --continue

--action addCustomEvent --event "zjiraclinotifications2" --template "Issue Created"

addCustomField

--action addCustomField --field "custom-select-list" --type "com.atlassian.jira.plugin.system.customfieldtypes:select" --continue

--action addCustomField --field "zzz_Number Field" --type "com.atlassian.jira.plugin.system.customfieldtypes:float" --options "createAnother" --search "com.atlassian.jira.plugin.system.customfieldtypes:exactnumber"

--action addCustomField --field "zzz_Radio Buttons" --type "com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons" --options "createAnother"

--action addCustomField --field "zzz_Select List (single choice)" --type "com.atlassian.jira.plugin.system.customfieldtypes:multiselect" --options "createAnother"

--action addCustomField --field "zzz_ctx_CascadingSelect" --type "com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect" --options "createAnother"

--action addCustomField --field "zzz_ctx_DatePicker" --type "com.atlassian.jira.plugin.system.customfieldtypes:datepicker" --options "createAnother"

--action addCustomField --field "zzz_ctx_FloatNumber" --type "com.atlassian.jira.plugin.system.customfieldtypes:float" --options "createAnother"

--action addCustomField --field "zzz_ctx_GroupPicker" --type "com.atlassian.jira.plugin.system.customfieldtypes:grouppicker" --options "createAnother"

--action addCustomField --field "zzz_ctx_Labels" --type "com.atlassian.jira.plugin.system.customfieldtypes:labels" --options "createAnother"

--action addCustomField --field "zzz_ctx_MultiCheckboxes" --type "com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes" --options "createAnother"

--action addCustomField --field "zzz_ctx_MultiGroupPicker" --type "com.atlassian.jira.plugin.system.customfieldtypes:multigrouppicker" --options "createAnother"

--action addCustomField --field "zzz_ctx_MultiSelect" --type "com.atlassian.jira.plugin.system.customfieldtypes:multiselect" --options "createAnother"

--action addCustomField --field "zzz_ctx_MultiUserPicker" --type "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker" --options "createAnother"

--action addCustomField --field "zzz_ctx_MultiVersion" --type "com.atlassian.jira.plugin.system.customfieldtypes:multiversion" --options "createAnother"

--action addCustomField --field "zzz_ctx_Project" --type "com.atlassian.jira.plugin.system.customfieldtypes:project" --options "createAnother"

--action addCustomField --field "zzz_ctx_RadioButtons" --type "com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons" --options "createAnother"

--action addCustomField --field "zzz_ctx_Select" --type "com.atlassian.jira.plugin.system.customfieldtypes:select" --options "createAnother"

--action addCustomField --field "zzz_ctx_UserPicker" --type "com.atlassian.jira.plugin.system.customfieldtypes:userpicker" --options "createAnother"

--action addCustomField --name "zzz_RadioButton" --type "com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons"

addCustomFieldContext

--action addCustomFieldContext --field "21118" --name "context for zzz_ctx_FloatNumber" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21105" --name "context for zzz_ctx_Select" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21106" --name "context for zzz_ctx_MultiSelect" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21107" --name "context for zzz_ctx_MultiCheckboxes" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21108" --name "context for zzz_ctx_RadioButtons" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21109" --name "context for zzz_ctx_CascadingSelect" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21110" --name "context for zzz_ctx_Project" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21111" --name "context for zzz_ctx_MultiVersion" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21112" --name "context for zzz_ctx_UserPicker" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21113" --name "context for zzz_ctx_GroupPicker" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21114" --name "context for zzz_ctx_MultiUserPicker" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21115" --name "context for zzz_ctx_MultiGroupPicker" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21116" --name "context for zzz_ctx_DatePicker" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "customfield_21117" --name "context for zzz_ctx_Labels" --project "ZZCLI1" --continue

--action addCustomFieldContext --field "zzselect3" --name "zcontext1" --continue

--action addCustomFieldContext --field "zzselect3" --name "zcontext6" --description "zcontext6 description" --issueType "@all" --project "ZZCLI3"

addCustomFieldContextToProject

--action addCustomFieldContextToProject --field "zzselect4" --context "zcontext2" --project "@all"

--action addCustomFieldContextToProject --field "zzselect4" --context "zcontext2" --project "JSM"

addCustomFieldOptions

--action addCustomFieldOptions --field "zzselect1" --context "zcontext" --options "X"

addFieldConfiguration

--action addFieldConfiguration --fieldConfiguration "zfieldConfiguration1"

--action addFieldConfiguration --fieldConfiguration "zfieldConfiguration1" --continue

--action addFieldConfiguration --fieldConfiguration "zfieldConfiguration2"

--action addFieldConfiguration --fieldConfiguration "zfieldConfiguration3"

--action addFieldConfiguration --fieldConfiguration "zfieldConfiguration4"

addFieldConfigurationSchemeAssociation

--action addFieldConfigurationSchemeAssociation --fieldConfigurationScheme "zfieldConfigurationScheme4" --fieldConfiguration "zfieldConfiguration4" --issueType "task"

addFilterPermission

--action addFilterPermission --filter "14006" --project "JIRA" --role "Developers"

--action addFilterPermission --filter "14006" --project "QA" --permission "Edit"

--action addFilterPermission --filter "14006" --type "group" --value "jira-core-users"

--action addFilterPermission --filter "14006" --type "loggedin"

addGroup

--action addGroup --group "Testgroup1" --preserveCase

addLabels

--action addLabels --issue "ZJIRACLI-7" --labels "addLabel1 addLabel2"

addLinkType

--action addLinkType --name "hold" --description "hold,is hold by"

addProjectCategory

--action addProjectCategory --name "category initial" --continue

--action addProjectCategory --name "category initial" --description "description is required"

addProjectRole

--action addProjectRole --name "zAdd project role test" --description "addProjectRole test"

addProjectRoleActors

--action addProjectRoleActors --project "ZJIRACLIROLES" --role "administrators" --group "jira-developers"

--action addProjectRoleActors --project "ZJIRACLIROLES" --role "administrators" --userId "project-admin"

--action addProjectRoleActors --project "ZJIRACLIROLES" --role "users" --userId "newname"

--action addProjectRoleActors --project "ZJIRACLIROLES" --role "users" --userId "user, admin"

--action addProjectRoleActors --project "ZJIRACLIROLES" --role "users" --userId "user, admin" --continue

--action addProjectRoleActors --project "zjiracli" --role "users" --userId "user, admin"

addRemoteLink

--action addRemoteLink --issue "ZJIRACLILINKS-1" --name "addRemoteLinkIssue" --link "remotely relates" --targetServer "jira210" --toIssue " JIRA-1 "

--action addRemoteLink --issue "ZJIRACLILINKS-1" --name "addRemoteLinkUrl" --url "https://google.com"

addScreen

--action addScreen --name "zscreen5" --description "zscreen5 description"

addScreenFields

--action addScreenFields --screen "17611" --field "assignee" --field "attachment" --field "labels"

--action addScreenFields --screen "17611" --tab "ztab1" --field "duedate" --continue

--action addScreenFields --screen "17611" --tab "ztab4" --field "description"

--action addScreenFields --screen "17611" --tab "ztab4" --field "reporter" --autoTab

--action addScreenFields --screen "zscreen2" --tab "ztab1" --field "duedate" --field "summary" --field "description"

addScreenTab

--action addScreenTab --screen "17611" --name "new tab"

addShortcut

--action addShortcut --project "ZJIRACLISHORTCUTS" --name "Shortcut 1" --url "https://google.com"

addTransition

--action addTransition --workflow "zjiracliworkflow_new" --name "test 1" --description "Transition for testing" --step "1"

--action addTransition --workflow "zjiracliworkflow_new" --name "test 2" --description "Transition for testing" --step "1" --transition "3" --screen "Default Screen"

--action addTransition --workflow "zjiracliworkflow_new" --name "test 3" --description "Transition for testing" --step "1" --screen "10409"

--action addTransition --workflow "zjiracliworkflow_new" --name "test 4" --description "Transition for testing" --step "1" --screen "JSM: Software Development Default Issue Screen"

--action addTransition --workflow "zjiracliworkflow_new" --name "test 9" --description "Transition for testing" --step "3"

addTransitionFunction

--action addTransitionFunction --workflow "zjiracliworkflow_new" --transition "test 1" --step "1" --type "condition" --functionKey "com.atlassian.jira.plugin.system.workflow:isuseringroup-condition" --field "group=jira-users"

--action addTransitionFunction --workflow "zjiracliworkflow_new" --transition "test 1" --step "1" --type "postfunction" --functionKey "com.atlassian.jira.plugin.system.workflow:update-issue-field-function" --data "{\"assignee_userpicker_dummy_assignee\":\"\",\"assignee_radio\":\"\",\"fieldValue\":\"bbbbb\",\"fieldId\":\"description\"}" --verbose

--action addTransitionFunction --workflow "zjiracliworkflow_new" --transition "test 1" --step "1" --type "postfunction" --functionKey "com.atlassian.jira.plugin.system.workflow:update-issue-field-function" --field "fieldId=summary" --field "assignee_radio=" --field "assignee_userpicker_dummy_assignee=" --field "fieldValue=aaaaa"

--action addTransitionFunction --workflow "zjiracliworkflow_new" --transition "test 1" --step "1" --type "postfunction" --functionKey "org.swift.jira.cot:createissue-function" --custom "{\"specificIssueType\":\"\",\"copyRemoteLinks\":\"\",\"specificComponents\":\"\",\"projectKey\":0,\"copyLinksFrom\":\"\",\"customField13Name\":\"\",\"customField15Value1\":\"\",\"commentSecurity\":\"\",\"jqlQuery\":\"\",\"multipleIssuesPattern\":\"\",\"customField15Value2\":\"\",\"copyOriginalFields\":\"\",\"customField18Value1\":\"\",\"customField5Name\":\"\",\"customField18Value2\":\"\",\"customField17Name\":\"\",\"customField7Value2\":\"\",\"labels\":\"\",\"specificAssignee\":\"\",\"customField1Value1\":\"\",\"customField1Value2\":\"\",\"customField15Name\":\"\",\"customField4Value1\":\"\",\"customField3Name\":\"\",\"customField4Value2\":\"\",\"acting\":\"\",\"customField1Name\":\"\",\"issueFixedVersions\":0,\"customField19Name\":\"\",\"customField10Name\":\"\",\"watchers\":\"\",\"customField16Value1\":\"\",\"customField16Value2\":\"\",\"specificPriority\":\"\",\"copyAttachments\":\"\",\"issueTypeId\":1,\"customField10Value1\":\"\",\"customField10Value2\":\"\",\"customField5Value2\":\"\",\"customField5Value1\":\"\",\"customField12Name\":\"\",\"customFieldIds\":\"\",\"conditionValue2\":\"\",\"copyTransitionAttachments\":0,\"conditionValue1\":\"\",\"issueAssignee\":1,\"customField6Value2\":\"\",\"dueDateOffset\":\"\",\"specificProjectKey\":\"\",\"issueRemainingEstimate\":\"\",\"linkType\":\"\",\"customField3Value1\":\"\",\"customField3Value2\":\"\",\"specificDueDate\":\"\",\"notes\":\"\",\"customField14Name\":\"\",\"linkKey\":\"\",\"customField11Value1\":\"\",\"linkDirection\":0,\"customField11Value2\":\"\",\"issuePriorityId\":0,\"multipleIssuesValue\":\"\",\"specificReporter\":\"\",\"issueDueDate\":0,\"conditionPattern2\":\"\",\"conditionPattern1\":\"\",\"customField16Name\":\"\",\"customField17Value1\":\"\",\"customField4Name\":\"\",\"specificAffectedVersions\":\"\",\"customField17Value2\":\"\",\"issueSummary\":\"\",\"customField14Value2\":\"\",\"conditionLiteral1\":1,\"customField14Value1\":\"\",\"customField13Value2\":\"\",\"issueComponents\":0,\"copyLinksTypes\":\"\",\"customField13Value1\":\"\",\"specificFixedVersions\":\"\",\"customField2Name\":\"\",\"securityLevel\":\"\",\"customField18Name\":\"\",\"customField8Value2\":\"\",\"customField19Value2\":\"\",\"customField9Value2\":\"\",\"issueOriginalEstimate\":\"\",\"customField19Value1\":\"\",\"issueReporter\":5,\"issueAffectedVersions\":0,\"customField12Value2\":\"\",\"customField2Value1\":\"\",\"customField12Value1\":\"\",\"customField2Value2\":\"\",\"conditionReverse1\":1,\"copyRemoteLinksType\":\"\",\"environment\":\"\",\"copyParentFields\":\"\",\"comment\":\"\",\"customField11Name\":\"\",\"issueDescription\":\"\",\"conditionExact1\":1}"

--action addTransitionFunction --workflow "zjiracliworkflow_new" --transition "test 1" --step "1" --type "postfunction" --functionKey "org.swift.jira.cot:createsubissue-function" --custom "{\"specificIssueType\":\"\",\"copyRemoteLinks\":\"\",\"specificComponents\":\"\",\"subIssueFixedVersions\":0,\"subIssueRemainingEstimate\":\"\",\"copyLinksFrom\":\"\",\"customField13Name\":\"\",\"customField15Value1\":\"\",\"commentSecurity\":\"\",\"jqlQuery\":\"\",\"multipleIssuesPattern\":\"\",\"customField15Value2\":\"\",\"copyOriginalFields\":\"\",\"customField18Value1\":\"\",\"subIssueDueDate\":0,\"customField5Name\":\"\",\"customField18Value2\":\"\",\"customField17Name\":\"\",\"customField7Value2\":\"\",\"labels\":\"\",\"specificAssignee\":\"\",\"customField1Value1\":\"\",\"customField1Value2\":\"\",\"customField15Name\":\"\",\"customField4Value1\":\"\",\"customField3Name\":\"\",\"customField4Value2\":\"\",\"createSibling\":\"0\",\"acting\":\"\",\"customField1Name\":\"\",\"customField19Name\":\"\",\"customField10Name\":\"\",\"watchers\":\"\",\"customField16Value1\":\"\",\"entryParent\":\"\",\"customField16Value2\":\"\",\"specificPriority\":\"\",\"copyAttachments\":\"\",\"customField10Value1\":\"\",\"customField10Value2\":\"\",\"customField5Value2\":\"\",\"customField5Value1\":\"\",\"subIssueDescription\":\"\",\"customField12Name\":\"\",\"customFieldIds\":\"\",\"conditionValue2\":\"\",\"copyTransitionAttachments\":0,\"conditionValue1\":\"\",\"customField6Value2\":\"\",\"dueDateOffset\":\"\",\"linkType\":\"\",\"customField3Value1\":\"\",\"customField3Value2\":\"\",\"specificDueDate\":\"\",\"notes\":\"\",\"customField14Name\":\"\",\"linkKey\":\"\",\"customField11Value1\":\"\",\"linkDirection\":0,\"customField11Value2\":\"\",\"multipleIssuesValue\":\"\",\"subIssueAssignee\":1,\"specificReporter\":\"\",\"conditionPattern2\":\"\",\"conditionPattern1\":\"\",\"subIssueTypeId\":5,\"subIssuePriorityId\":0,\"customField16Name\":\"\",\"customField17Value1\":\"\",\"customField4Name\":\"\",\"specificAffectedVersions\":\"\",\"customField17Value2\":\"\",\"issueSummary\":\"A test\",\"customField14Value2\":\"\",\"customField14Value1\":\"\",\"customField13Value2\":\"\",\"copyLinksTypes\":\"\",\"customField13Value1\":\"\",\"specificFixedVersions\":\"\",\"customField2Name\":\"\",\"subIssueComponents\":1,\"subIssueOriginalEstimate\":\"\",\"securityLevel\":\"\",\"customField18Name\":\"\",\"customField8Value2\":\"\",\"customField19Value2\":\"\",\"customField9Value2\":\"\",\"customField19Value1\":\"\",\"subIssueReporter\":\"\",\"customField12Value2\":\"\",\"customField2Value1\":\"\",\"customField12Value1\":\"\",\"customField2Value2\":\"\",\"copyRemoteLinksType\":\"\",\"environment\":\"\",\"subIssueSummary\":\"\",\"copyParentFields\":\"\",\"comment\":\"\",\"subIssueAffectedVersions\":0,\"customField11Name\":\"\",\"issueDescription\":\"xxxx\"}"

--action addTransitionFunction --workflow "zjiracliworkflow_new" --transition "test 1" --step "1" --type "validator" --functionKey "com.atlassian.jira.plugin.system.workflow:permission-validator" --field "permissionKey=CREATE_ISSUES"

addUser

--action addUser --userId "Testuser3" --userEmail "testuser6@examplegear.com" --preserveCase --group "jira-users"

--action addUser --userId "testuser1" --userFullName "Test User1" --userEmail "testuser4@examplegear.com"

--action addUser --userId "testuser2" --userFullName "Special User 2" --userEmail "testuser5@examplegear.com" --group "Testgroup1"

addUserToGroup

--action addUserToGroup --userId "Testuser3" --group "testgroup2" --autoGroup

--action addUserToGroup --userId "testuser3" --group "testgroup2" --autoGroup --continue

addVersion

--action addVersion --project "ZJIRACLIRUNNER" --name "V1" --continue

--action addVersion --project "ZJIRACLIRUNNER" --name "V2" --continue

--action addVersion --project "ZJIRACLIVERSIONS" --name "V1"

--action addVersion --project "ZJIRACLIVERSIONS" --version "V2" --date "5/30/15" --description "V2 description" --replace

--action addVersion --project "zjiracli" --version "V1" --description "V1 description" --startDate "9/30/14" --date "5/30/15" --continue

--action addVersion --project "zjiracli" --version "V2" --description "V2 description" --startDate "9/30/14" --date "5/30/15" --continue

--action addVersion --project "zjiracliversions for automated testing" --name "V2" --date "5/30/15" --startDate "9/30/14" --after "V1" --description "V2 description"

--action addVersion --project "zjiracliversions for automated testing" --name "With Blanks"

addVote

--action addVote --issue "ZJIRACLIVOTEWATCH-1"

addWatchers

--action addWatchers --issue "ZJIRACLIVOTEWATCH-1" --userId "ZZZinvalid1, ZZZinvalid2" --continue

--action addWatchers --issue "ZJIRACLIVOTEWATCH-1" --userId "user, developer"

addWebhook

--action addWebhook --name "zwebhooks1" --url "https://examplegear.com/acli" --events "jira:issue_created,jira:issue_deleted,jira:issue_updated"

--action addWebhook --name "zwebhooks1" --url "https://examplegear.com/acli" --events "jira:issue_created,jira:issue_deleted,jira:issue_updated" --options "excludeBody"

--action addWebhook --name "zwebhooks1" --url "https://examplegear.com/acli" --jql "key = ABC-1" --events "jira:issue_created,jira:issue_deleted,jira:issue_updated"

--action addWebhook --name "zwebhooks2" --events "jira:issue_created,jira:issue_deleted,jira:issue_updated" --url "https://examplegear.com/acli2" --options "disable"

addWork

--action addWork --issue "ZJIRACLISUB-1" --timeSpent "1h" --autoAdjust

--action addWork --issue "ZJIRACLISUB-3" --timeSpent "1h" --autoAdjust

--action addWork --issue "ZJIRACLIWORK-1" --timeSpent "1d 1h" --date "1/02/11 9:00 a"

--action addWork --issue "ZJIRACLIWORK-1" --timeSpent "3h 30m" --comment "My work log entry" --role "Developers" --group "jira-users"

--action addWork --issue "ZJIRACLIWORK-1" --timeSpent "3h 30m" --date "2011-01-01" --dateFormat "yyyy-MM-dd" --group "jira-users"

--action addWork --issue "ZJIRACLIWORK-1" --timeSpent "3h 30m" --estimate "3w"

--action addWork --issue "ZJIRACLIWORK-1" --timeSpent "3m" --date "2011-01-01 22:33:01"

--action addWork --issue "ZJIRACLIWORK-1" --timeSpent "3m" --date "2011-01-01"

--action addWork --issue "ZJIRACLIWORK-1" --timeSpent "5" --userId "developer"

--action addWork --issue "ZJIRACLIWORK-2" --timeSpent "2h"

archiveComponent

--action archiveComponent --project "ZJIRACLICOMPONENTS" --component "C4"

archiveIssues

--action archiveIssues --issue "ZJIRACLIARCHIVE-1" --continue

--action archiveIssues --issue "ZJIRACLIARCHIVE-1" --suppressNotify

--action archiveIssues --jql "issue in (ZJIRACLIARCHIVE-1,ZJIRACLIARCHIVE-2)"

archiveProject

--action archiveProject --project "ZJIRACLIARCHIVE"

--action archiveProject --project "ZJIRACLIARCHIVE" --continue

archiveVersion

--action archiveVersion --project "ZJIRACLIVERSIONS" --version "V1"

assignIssue

--action assignIssue --issue "ZJIRACLI-5" --userId ""

--action assignIssue --issue "ZJIRACLI-5" --userId "@default"

--action assignIssue --issue "ZJIRACLI-5" --userId "automation"

associateWorkflow

--action associateWorkflow --name "zjiracliworkflow" --workflowScheme "zjiracliworkflow"

cloneIssue

--action cloneIssue --issue "ZJIRACLI-4" --description "clone description"

--action cloneIssue --issue "ZJIRACLI-4" --summary "clone summary" --comment "comment for cloned issue" --quiet

--action cloneIssue --issue "ZJIRACLI-4" --summary "clone summary" --date "2013-12-30" --dateFormat "yyyy-MM-dd"

--action cloneIssue --issue "ZJIRACLIATTACHMENTS-1" --copyAttachments

--action cloneIssue --issue "ZJIRACLILINKS-1" --summary "cloneThis is content." --link "Cloners"

--action cloneIssue --issue "ZJIRACLISECURITY-1"

--action cloneIssue --issue "ZJIRACLISUB-1" --project "%original_project%" --summary "Clone: %original_summary%" --type "%original_issuetype%" --description "Clone: %original_description%" --environment "Clone: %original_environment%"

cloneIssues

--action cloneIssues --copyAttachments --copySubtasks --jql "key = ZJIRACLIATTACHMENTS-1"

--action cloneIssues --project "zjiracliA" --jql "project = zjiracli and issuetype = bug"

--action cloneIssues --project "zjiracliA" --type "improvement" --jql "project = zjiracli and issuetype = bug"

--action cloneIssues --toProject "ZJIRACLIRUNNERC" --description "Bulk clone example" --jql 'project = ZJIRACLIRUNNER and summary ~ "volume-*"'

--action cloneIssues --type "task" --jql "project = zjiracli and issuetype = bug"

cloneProject

--action cloneProject --project "ZJIRACLIATTACHMENTS" --toProject "ZJIRACLIATTACHMENTS2" --cloneIssues --copyAttachments --copySubtasks

--action cloneProject --project "ZJIRACLITEMPLATE" --toProject "ZJIRACLITEMPLATEC" --cloneIssues --copyLinks --copyVersions --copyComponents --copyEstimates --copySubtaskEstimates

--action cloneProject --project "zjiracli" --jql "type = 'bug'" --toProject "zjiracliB" --issueSecurityScheme "test restrictions" --copyVersions --copyComponents --copyRoleActors --cloneIssues --copyAttachments --copySubtasks --copyProperties --continue --copyLinks --copyWatchers --copyComments

--action cloneProject --project "zjiracli" --toProject "zjiracliA" --name "zcloneNameA"

--action cloneProject --project "zjiracli" --toProject "zjiracliC" --cloneIssues --jql "issuetype = bug" --autoVersion

--action cloneProject --project "zjiracliC" --toProject "zjiracliD"

--action cloneProject --project "zjiraclipriorityschemesB" --priorityScheme "zjiraclipriorityschemes" --toProject "zjiraclipriorityschemesX"

copyAttachments

--action copyAttachments --issue "ZJIRACLIATTACHMENTS-1" --toIssue "JIRA-1" --name "data.txt" --targetServer "jira30"

--action copyAttachments --issue "ZJIRACLIATTACHMENTS-1" --toIssue "ZJIRACLIATTACHMENTS-2"

--action copyAttachments --issue "ZJIRACLIATTACHMENTS-1" --toIssue "ZJIRACLIATTACHMENTS-3" --name "data.txt"

copyComponent

--action copyComponent --project "ZJIRACLICOMPONENTS" --toProject "ZJIRACLICOMPONENTS2" --component "C1"

--action copyComponent --project "zjiracli" --component "C1" --name "C3First" --description "override description"

copyComponents

--action copyComponents --project "ZJIRACLICOMPONENTS" --toProject "ZJIRACLICOMPONENTS2"

--action copyComponents --project "ZJIRACLICOMPONENTS" --toProject "ZJIRACLICOMPONENTS2" --replace

--action copyComponents --project "zjiracli" --toProject "zjiracliX"

--action copyComponents --project "zjiracli" --toProject "zjiracliX" --components "C1, C2" --replace

copyFieldValue

--action copyFieldValue --issue "ZJIRACLI-9" --field "custom1" --field2 "custom-versions" --autoVersion

--action copyFieldValue --issue "ZJIRACLI-9" --toIssue "ZJIRACLI-10" --field "custom1"

--action copyFieldValue --issue "ZJIRACLI-9" --toIssue "ZJIRACLI-10" --field "fixVersions" --field2 "custom-versions"

--action copyFieldValue --issue "ZJIRACLI-9" --toIssue "ZJIRACLI-10" --field "summary" --field2 "custom2"

copyIssue

--action copyIssue --issue "ZJIRACLICOPYISSUE-1" --toIssue "ZJIRACLICOPYISSUE-4"

--action copyIssue --issue "ZJIRACLICOPYISSUE-1" --toIssue "ZJIRACLICOPYISSUE-4" --copyEstimates --copySubtasks --copySubtaskEstimates --copyLinks --copyRemoteLinks --copyComments --copyWatchers --copyWork

--action copyIssue --issue "ZJIRACLICOPYISSUE-1" --toIssue "ZJIRACLICOPYISSUE-4" --copyEstimates --copySubtasks --copySubtaskEstimates --copyLinks --copyRemoteLinks --copyComments --copyWork

--action copyIssue --issue "ZJIRACLICOPYISSUE-1" --toIssue "ZJIRACLICOPYISSUE-5" --copySubtasks

--action copyIssue --issue "ZJIRACLICOPYISSUE-1" --toIssue "ZJIRACLICOPYISSUE-6" --copySubtasks --useParentReporter

copyProjectRoleActors

--action copyProjectRoleActors --project "ZJIRACLIROLES" --toProject "ZJIRACLIROLESX"

copyVersion

--action copyVersion --project "zjiracli" --toProject "zjiracliA" --name "V1"

--action copyVersion --project "zjiracli" --toProject "zjiracliA" --name "V2" --after -1

--action copyVersion --project "zjiracli" --toProject "zjiracliA" --version "V1" --description "replaced description" --startDate "9/30/14" --replace

--action copyVersion --project "zjiracliA" --version "V1" --name "newV1"

copyVersions

--action copyVersions --project "zjiracli" --toProject "zjiracliC" --replace

copyWorkflow

--action copyWorkflow --workflow "jira" --name "zjiracliworkflow_new" --description "Copy of jira for jiracliworkflow test"

createFieldConfigurationScheme

--action createFieldConfigurationScheme --fieldConfigurationScheme "zfieldConfigurationScheme1"

--action createFieldConfigurationScheme --fieldConfigurationScheme "zfieldConfigurationScheme1" --continue

--action createFieldConfigurationScheme --fieldConfigurationScheme "zfieldConfigurationScheme2"

--action createFieldConfigurationScheme --fieldConfigurationScheme "zfieldConfigurationScheme3"

--action createFieldConfigurationScheme --fieldConfigurationScheme "zfieldConfigurationScheme4"

createFilter

--action createFilter --name "ZJIRACLIFILTER2" --description "ZJIRACLIFILTER2 description" --jql "project = ZJIRACLIFILTER" --favorite

createIssue

--action createIssue --parent "ZJIRACLISUB-1" --project "%parent_project%" --type "Sub-task" --summary "subtask2: %parent_summary%" --priority "%parent_priority%"

--action createIssue --project "ZJIRACLIARCHIVE" --type "Sub-task" --summary "Subtask ZJIRACLIARCHIVE summary" --parent "ZJIRACLIARCHIVE-1" --assignee "automation"

--action createIssue --project "ZJIRACLIARCHIVE" --type "bug" --summary "ZJIRACLIARCHIVE summary"

--action createIssue --project "ZJIRACLIATTACHMENTS" --type "Sub-task" --parent "ZJIRACLIATTACHMENTS-1" --summary "Subtask with attachments"

--action createIssue --project "ZJIRACLIATTACHMENTS" --type "bug" --summary "Copy attachments target"

--action createIssue --project "ZJIRACLIATTACHMENTS" --type "bug" --summary "For attachments"

--action createIssue --project "ZJIRACLICLONE" --type "bug" --summary "Summary" --affectsVersions "V1" --fixVersions "V1,V2" --components "C2,C1" --autoVersion --autoComponent --field "custom-user-picker=automation" --field "custom-versions=V2, V1" --field "custom-cascade-select=1 - A" --field "custom-labels=ZJIRACLICLONE1-ZJIRACLICLONE2"

--action createIssue --project "ZJIRACLICOMMENTS" --type "Bug" --summary "test"

--action createIssue --project "ZJIRACLICOMPONENTS" --type "bug" --summary "test" --components "auto1,auto2" --autoComponent

--action createIssue --project "ZJIRACLICUSTOM" --type "Story" --summary "json" --field "{\"custom-date\":{\"offset\":\"-30\",\"value\":\"%now%\"},\"Story Points\":{\"offset\":-4.2,\"value\":\"10.1\"},\"custom-multi-select\":\"s1,s2,s3\"}" --date "{\"offset\":5,\"value\":\"%now%\"}" --dateFormat "yyyy-MM-dd"

--action createIssue --project "ZJIRACLICUSTOM" --type "Story" --summary "json" --field "{\"custom-datetime\":{\"offset\":15,\"value\":\"%now%\"},\"custom-date\":{\"offset\":\"15\",\"value\":\"2015-05-01\"}}" --field "Story Points = {\"offset\":\"5\",\"value\":\"10\"}" --date "%now%" --dateFormat "yyyy-MM-dd HH:mm:ss"

--action createIssue --project "ZJIRACLICUSTOM" --type "bug" --summary "cascade issue" --field "custom-cascade-select" --values "1,A"

--action createIssue --project "ZJIRACLICUSTOM" --type "bug" --summary "cascade issue" --field "custom1=xxxx" --field "custom-cascade-select = 1,A"

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.