Invalid Response from REST Server when calling Confluence CLI

Stjepan Bijelonjic March 3, 2020

Hi guys,

 

I am currently trying to build a macro in Confluence which calls the Confluence CLI.

 

When I try one of the example scripts (from https://bobswift.atlassian.net/wiki/spaces/CCLI/pages/38764562/CLI+Macro)  I am always getting errors.

So I tried to using Confluence CLI from my PC using the Commandline.

I downloaded the Client, Installed "Confluence Command Line Interface (CLI)" on my Server and called something like:

    confluence.bat --action getServerInfo --outputFormat 2 --verbose

My username and password are stored in the confluence.bat file, as well as my server-url.

The Response I get is:

    Server info:

    License information . . . . . : 
    Response time (milliseconds) : 3443

 

So it clearly does not work, but he also does not say why.

My License is valid. Calling serverurl/rest/org.swift.confluence.cli/latest/validatelicense returns:

{"status":true,"message":"Bob Swift Atlassian Apps - Confluence Command Line Interface (CLI) has a valid license.","product":"Confluence","version":"6.11.2","build":"7801","time":"2020-03-03T15:56:34.542+0100","timeZone":"Western European Time","title":"Confluence","baseUrl":"xy.com","connectorVersion":"9.1.0"}

 

Can someone tell me why I can't use the CLI and why my configured macro is not working?

 

Thank you in advance for any kind of help!

1 answer

0 votes
Deleted user March 3, 2020

Hi @Stjepan Bijelonjic ,

We are from the BobSwift support team.

We have created a support request on behalf of you in our portal. Please access the ticket https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3635 to discuss more on this issue.

Thanks,

Raja

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events