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

how to ignore empty parameters in CLI Action Macro

I use a "Run with a use form and parameters" to set some query parameters.

and add a "CLI Action" macro in it.

Paramters like "space", "label1", "label2" ets...

the cli action :

--action getContentList --cql "type=page and space in ($spaces) and label = $label1 and label = $label2 " --dateFormat "yyyy-MM-dd"

when an user only input “label1", How can I ignore the  "label2".


1 answer

Hi [Cao Yiheng|~accountid:557058:3395f155-5413-43ec-9311-9acc1c4f9082],

We are from BobSwift support team.

Could you please provide us the below details to investigate the issue further:
* Version of the CLI app.
* Version of the Confluence you are using.
* Let us know the app name of "Run with a use form and parameters" macro and version of the app.
* Share the storage format of the page by following the steps in this [link|].

We have created a bug request on behalf of you in our portal. Could you please try to access the ticket and share with us the requested details in the SUPPORT-3342 . 


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

276 views 9 6
Join discussion

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