Running the command sample from the link :
>acli ..... --action runFromCsv --file "F:\jira cloud\organization.csv" --common "--action addOrganizationUsers" --continue
returns the error
Run: --action addOrganizationUsers
Client error: Service Desk 3.2 or higher is required to be installed on the Jira server. The following did not return da
ta: https://............................../rest/servicedeskapi/latest/info.
I have installed the connector and the client on my system, I am the admin. Did not install on the server.
Also every user added consumes a JIRA license- how to add customers.
Hi @Karishma ,
We hope that you are good with the solution provided by us.
To add a customer to a Jira service desk project in the cloud without the user consuming any license, please use the action addCustomer as given below.
--action addCustomer --customer "test.user@gmail.com" --project TEST
Similarly to add an organization, use the action addOrganization as given below.
--action addOrganization --organization "test" --project TEST
Please do let us know if you have any questions. We are happy to help.
Thanks,
Reshma
Hi @Karishma ,
Thanks for your response!
Could you please try to sign up to the portal using the link- https://bobswift.atlassian.net/servicedesk/customer/portal/1/user/signup?destination=portal%2F1%2FSUPPORT-4141
To add a customer to a Jira service desk project in the cloud without the user consuming any license, please use the action addCustomer as given below.
--action addCustomer --customer "test.user@gmail.com" --project TEST
Similarly to add an organization, use the action addOrganization as given below.
--action addOrganization --organization "test" --project TEST
Please refer to our documentation (https://bobswift.atlassian.net/wiki/spaces/JSDCLI/pages/266178591/Actions) for further information on all the CLI action commands.
Please let us know if you have any questions.
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I needed more time to test.
We are trying to automate adding organizations and customers to a project using the CLI commands. I found that first you have to add an organization, then you can add the organization to a project. So the beta version is not needed to add organization. This works for the existing ACLI release. The documentation should list this. I found an issue with addCustomer action (tested with the latest release not beta).
acli <name> --action addOrganization --name "A and C"
acli <name> --action addOrganization --project "EX" --name "A and C"
Organization 'A and C' added to EX.
acli <name> --action addCustomer --customer "e@c.com" --project "EX"
Customer 'e@c.com' added.
Client error: No users found that match 'e@c.com'.
Adding it the 2nd time, returns success.
acli <name> --action addCustomer --customer "e@c.com" --project "EX"
Customer 'e@c.com' added to project EX.
Sometimes even adding the email multiple times fails:
acli <name> --action addCustomer --customer "p@mmm.com" --project "EX"
Customer 'p@mmm.com' added to project EX.
acli <name> --action addCustomer --customer "c@mmm.com" --project "EX"
Customer 'c@mmm.com' added.
Client error: No users found that match 'c@mmm.com'.
acli <name> --action addCustomer --customer "c@mmm.com" --project "EX"
Client error: No users found that match 'c@mmm.com'.
acli <name> --action addCustomer --customer "c@mmm.com" --project "EX"
Client error: No users found that match 'c@mmm.com'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also is there a way to add both the customer's name and email to the project? I wish the ACLI documentation would elaborate more. I have to keep asking questions, instead of finding commands, options referencing the documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Karishma ,
We have created a support request SUPPORT-4141 to track this issue on behalf of you. Please access the Support request SUPPORT-4141 and once you signup, please let us know your username so that we can add you as the reporter to the support request.
Could you please modify the instance name in acli.properties file from jiracloud to servicedeskcloud as shown below and rerun the action.
myjirasd = servicedeskcloud -s https://examplesite.atlassian.net/ ${credentials}
default
= ${myjirasd}
Please let us know if you have any questions.
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried signing up, keep getting a message the link is bad. I cannot access SUPPORT-4141.
I have the correct credentials, but keep getting the same error.
How can we add organizations and customers to a specific project? Adding users (addUsers) consumes a license.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Karishma ,
We have created a support request SUPPORT-4141 to track this issue on behalf of you.
Please access the Support request SUPPORT-4141 and once you signup, please let us know your username so that we can add yourself to the reporter of the support request.
We have had similar issues in the past and this has been resolved in the latest CLI 9.3.0 Snapshot release. Please download the latest CLI client snapshot version from this link. and follow the steps given below to configure the snapshot.
Download CLI client v9.3.0 (atlassian-cli-9.3.0-SNAPSHOT-distribution.zip) from here.
Unzip the files.
Go to the location where the folder atlassian-cli-9.3.0-SNAPSHOT got created and rename the file acli-cloud.properties to acli.properties.
Open the file acli.properties and configure your instance details.
Modify credentials with respect to your instance details where you want to execute the CLI actions.
credentials =
--user test.user@appfire.com --token xxxxxxxxxxx
myjira = jiracloud -s https://examplesite.atlassian.net/ ${credentials}
default
= ${myjira}
Save the file.
Run the CLI actions.
Or please refer to How to update latest CLI snapshot jar file for existing CLI installers article to update your existing CLI installer version.
Please let us know if you have any questions on this. We are happy to help!
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Karishma ,
We have created a support request SUPPORT-4141 for this issue on behalf of you. Please access the Support request SUPPORT-4141 and once you signup, please let us know your username so that we can add you as the reporter to the support request.
We have had similar issues in the past and this has been fixed in the lastest CLI snapshot 9.3.0-snapshot release. Please download the latest version of the snapshot through this link and follow the steps given below to configure the CLI 9.3 version and then run the CLI action against your cloud instance.
Modify credentials with respect to your instance details where you want to execute the CLI actions.
|
Please let us know if you have any questions about this. We are happy to help!
Thanks,
Reshma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I downloaded the 9.3 libraries, I get this error:
acli {myjira} --action runFromCsv --file "organization.csv" --common "--project ABC -
-action addOrganizationUsers" --continue
Run: --project ABC --action addOrganizationUsers
Parameter error: This function requires a non-blank value for parameter organization.
Run: --project ABC --action addOrganizationUsers
Parameter error: This function requires a non-blank value for parameter organization.
Client error: 2 actions failed from file: organization.csv
I am using the same csv template as listed in the example:
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.