Confluence CLI addLabels function doesn't add label to space

Christian Olschinka December 9, 2019

Hi,

I tried to use the addLabels function of Bob Swift's Confluence CLI client to automatically add a category/label to a space like this:

... --action addLabels --space "XYZ" --labels "some-label"

The verbose output returns http code 200 together with the message "1 labels added to space XYZ.", so no errors during the call, but if I want to review the results in the space details, I find that the label wasn't acutally attached to the space. The automation user has all space permissions and I also limited the test to existing labels, but nothing helped so far.

Can anyone help? Is this a bug?

 

Thanks and regards

Christian

1 answer

1 accepted

0 votes
Answer accepted
Amulya Akula {Appfire} December 10, 2019

Hi @Christian Olschinka , 

We are from BobSwift support team. 

Yes, your action is correct. With the above cli command, the labels should get added to the space categories section in the Space Tools.

We have opened a Support Request 3293  for this issue. Could you please signup to our portal for further discussion on this ticket, 3293 ? As we need few more details to investigate the issue and ensure that the action is running as expected

Regards,
Amulya Akula

Christian Olschinka December 10, 2019

Hi @Amulya Akula {Appfire},

thank you for your quick response. I have signed up to the portal, but cannot see the ticket you mentioned yet.

Regards

Christian

Amulya Akula {Appfire} December 10, 2019

Hi @Christian Olschinka , 

Thank you for creating the request. Please access the support request, SUPPORT-3293,  now and let us know if you face any issues. 

Regards,
Amulya Akula

Amulya Akula {Appfire} December 19, 2019

Hi @Christian Olschinka ,

We see that you are using the CLI client v8.0.0 and the server url as https://test.teamspace.rheinmetall.com/confluence

We would request you to please download the CLI Client v9.0.0 from this page.

Once you download, update the file and then execute the action, addlabels and let us know if this works.

--action addLabels --space "XYZ" --labels "some-label" --debug

Also, ensure that if the base url is https://test.teamspace.rheinmetall.com/confluence then the server parameter should also be https://test.teamspace.rheinmetall.com/confluence.

 

Regards,

Amulya Akula

Christian Olschinka January 28, 2020

Updating the CLI client from 8.0.0 to 9.0.0 solved the problem.

 

Thank you

Christian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events