How can I get a question(Confluence Question) by tag via API ?


2 answers

getQuestionList from Confluence Command Line Interface (CLI) has support for this in version 4.0. Here is an example with results from our site:

confluence --action getQuestionList --topic confluence-command-line-interface-add-on
42 questions in list
"97517577","Really basic question - set file path"
"96632846","Confluence CLI multiline regexp"
"92897313","How do I add view permissions for anonymous to a large number of spaces?"
"92897307","How can I use the CLI to recursively remove all comments from a space?"
"92897303","copyPageChildren - is there a way to copy attachments?"
"92897299","storePage with --minor option still show page in recently updated - why?"
"92897293","Does the CLI work with https, SSL, and certificates"
"92209199","Is there any way to keep ordering on copySpace?"
"92209182","How to list all restrictions on pages"
"92209176","Login action questions"
"92209172","File date and owner lost on addAttachment"
"88244301","Confluence CLI - can you update the space style sheet?"
"86769778","facing issues while passing parameter value from RUN to sql in groovy editor interface"
"86769732","Update all Confluence Users"
"85459068","Replace all content of page with a file"
"84770877","export space : Connection refused"
"84115652","CLI tool exits with error ""Remote error: (502)Proxy Error"""
"83492901","CLI for Archiving spaces"
"82378824","Can I prevent email notifications?"
"81723756","Confluence Command Line Interface - List of groups of Space or Page restrictions"
"81723607","Confluence Command Line Interface - CopyPageChildren"
"81723513","Forcing Confluence page order?"
"81199184","getAttachmentList descendants"
"81199174","notifications cli"
"79921234","remove all attachments from a page"
"78348367","Confluence CLI - change / rename username"
"78348311","output Format 2 column description"
"77758655","CLI - How to disable a user"
"77758651","How to make my visio macro work?"
"77758561","Is there a way to automatically notify someone when a change to a DB table occurs?"
"77758481","Is there a way using the CLI to find pages by creator?"
"77005343","Why can I exportSpace but not restoreExport?"
"77005324","How to escape colon in findReplaceRegex?"
"77004995","Confluence CLI copySpace - do I really need createspace permission if space already exists ?"
"76382532","cli changes to global space or site"
"75694221","How to add a task into a page using Confluence Command Line Interface"
"75694201","Can exportspace be used to export and then import into confluence ondemand?"
"75039047","Enable Edit/Update buttons when (Null) exists in a DB Table"
"75038891","How to remove labels from multiple pages"
"75038741","How to automate using the CLI within Service-Now?"
"74580083","use Run and runFromPageList and renamePage?"
"73924893","Is there a way to get 'Last Login' info for the user using CLI?"

Is this available for cloud version?

Yes. See the documentation link above.

The example shown is from our cloud site

Also was looking one day for it, only this has been found

seems like "work in progress" still

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,178 views 20 14
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you