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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Thanks.

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|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
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

408 views 23 8
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