Dear Community,
we are using the following CLI Action in our Workflow during the create issue transition to create the same issue on another jira instance:
CLI action
Product: JIRA
Action: --action run --common "--project %project%" --server http://hostname.mydomain.com --user Sync --password **********
Data:
-a createIssue --type "%issueType%" --summary "%summary%" --priority %priority%
-a addLabels --issue @issue@ --labels %issue_key%
Since the values change the next step would be to update these issues using a saved action in the run CLI Actions menu. I am aware of the updateIssue action and also tried running it (same commands as above with updateIssue instead of create issue) but unfortunately it throws an error:
Error: Unexpected argument: updateIssue
Error: Parameter 'action' is required.
Client error: 1 actions failed
Thank you very much for your assistance.
The below action, updated the issue successfully.
-a updateIssue --issue %original_key% --type "%issueType%" --summary "%summary%" --priority %priority%
Thanks,
Manisha
Hi @Ken
We are from BobSwift support team. Thanks for raising the request with us.
We need the below details to analyze the issue further and have created a support request on behalf of you in our portal
https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-2901
Please signup to our portal to provide the requested details and further discussion on this ticket.
We are able to create issue and update issue from one JIRA instance to another by adding the CLI action in the workflow. Please find the details below.
Action: --action run --common "--project TEST" --server "http://XXXX.com" --user XXXX --password XXXX
Data: -a createIssue --type "Bug" --summary "Summary from other instance" --labels "label2 label4"
Action: --action run --common "--project TEST" --server "http://XXXX.com" --user XXXX --password XXXX
Data: -a updateIssue --issue "TEST-2" --summary "New Summary from other instance" --labels "label1 label3"
Can you please share the below details for further analysis.
1. Share complete post function of createIssue and updateIssue.
2. Enable the DEBUG log, then rerun the scenario and share the atlassian-jira.log.
Thanks,
Ravya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravya,
thank you. I signed up for the service desk, could you assign the issue to me so that I can send you the requested information?
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.