Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Invalid Response from REST Server when calling Confluence CLI

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

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
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

265 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you