how to ignore empty parameters in CLI Action Macro

Cao Yiheng December 25, 2019

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".

Thanks.

1 answer

0 votes
Deleted user December 27, 2019

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|https://bobswift.atlassian.net/servicedesk/customer/portal/1/article/976323558?src=-1940506898].

We have created a bug request on behalf of you in our portal. Could you please try to access the ticket https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3342 and share with us the requested details in the SUPPORT-3342 . 

Thanks,
Sravya

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events