Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 get popular questions and discussions programmatically? Edited

Is there a way to get popular questions and discussions programmatically (REST API or RSS feed) and for different time frames (weekly, monthly)?

3 answers

2 votes

You can use queries from site search to generate RSS feeds

You could do something like this:

https://community.atlassian.com/tnckb94959/rss/search?q=jira&advanced=false&rangeTime=1w&sort_by=-topicViews&allow_punctuation=false

Query: jira

Sorts: Active in last week, sorted by most views

Here's another version:

https://community.atlassian.com/tnckb94959/rss/search?q=jira&advanced=false&openresponse=true&include_qanda=true&rangeTime=1M&allow_punctuation=false

Query: jira

Sorts/Filters: Unanswered (no replies), Q&A only, active in last month 

Hope this helps! Our plan is to expose these RSS URLs on the search page UI in our next release.

Thanks Tyler! This is very nice and could be useful.

Seems sort_by doesn't work for RSS feeds as sorting by topicViews and topicPostDate give me exactly the same results. :( Also RSS feeds include both questions and answers. I'd prefer questions only.

Web view does take into account sorting option but there're a couple of issues with that too: 1) last active option is not very useful as it still shows questions from years ago, 2) searching for query is close to but not the same as list of questions for product (like JIRA for example).

Tyler T Atlassian Team Aug 03, 2017

@Rp Subs, try adding this to the end of your feed to restrict it to topics/questions only

&depth=0

There are RSS feeds for categories, for example this Feedback Forum:

  • click the 'Watch' button in the right side bar
  • choose the 'RSS' tab
  • copy the URLs for the feeds you are interested in

I'm not aware of a way to filter/rank those by week or month right now.

 

Thanks, Steffen! These feeds are too noisy for me. :) I was looking for popular questions only.

0 votes
Monique vdB Community Manager Jul 14, 2017

I don't think there's currently a way to get a feed based on popularity, just the general feed @Steffen Opel _Utoolity_ mentioned above. It would be useful though!

It looks like Lithium has REST API but I'm not able to figure out how to access it (or this is switched off on your side).

Tyler T Atlassian Team Aug 03, 2017

@Rp Subs, here's an article about the API: https://community.atlassian.com/t5/Feedback-Forum-articles/Use-the-Community-API-to-query-tags/ba-p/618155

Please leave a comment there if you have any questions

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Feedback & Announcements

The 2020 Content Awards

Happy New Year, Atlassian Community! In 2020 we all had to learn how to connect, share, and learn in an entirely different way. After a year of so much bad, we deserve to celebrate some good! The...

2,033 views 40 68
Read article

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