Jira RSS Export without comments

Hi,

I am using Jira and I want to create an RSS feed that is viewable in a browser.

1) How can I create a feed without comments?

2) the xsl stylesheet is referencing a css file that no longer exists. Where can I find it?

Any help would be much appreciated!

Thank you,

-Landi

2 answers

1 accepted

Accepted Answer
1 vote

Add

&issues=activity+NOT+comment%3Apost

to your RSS query string. You could customize the activity stream to reflect this in the RSS feed as well:

Not sure about #2, maybe it's a configuration issue?

Hi Aseem,

Thank you for responding. I don't know what activity stream you are referring to. Here are the steps I take to create the RSS feed:

1) I go to the project whose tickets I want to export and I choose Export > RSS (Issues).

2) I get taken to this URL: https://jira.pixotech.com/sr/jira.issueviews:searchrequest-rss/temp/SearchRequest.xml?jqlQuery=project+%3D+ALA&tempMax=1000

3) I see this code when I visit the above URL

4) Lastly, I input that URL to an online RSS feed reader, under add subscriptions here: http://reader.feedshow.com/login.php?demo=true&lg=en

I get an error that reads: Error : URL does not seem to be valid...

Am I missing a step or a plugin in order to view the feed? I would like to try what you suggested but I can't even view the feed that Jira generates.

Thank you!

-Landi

Ahhh, that makes more sense. I assumed you were using an activity stream gadget for some reason :)

You can create a dashboard and add an activity stream gadget in order to see what I showed you in my screenshot. You can customize the feed to your liking and then use the RSS feed on the gadget.

Also, you'll need to authenticate in order to view the feed. This means you should add os_authType=basic to your query string in order to get that RSS feed to work unless your JIRA instance is open to the public. I don't think there are many clients that support this, however.

The biggest problem here is #4 for me. I tried feedshow and feedburner but neither one of those services likes any of the JIRA RSS feeds I plug into it. Just out of curiosity, is an RSS feed absolutely necessary? Will the dashboard approach work instead?

Hi Aseem,

I need this to work with RSS feeds becuase I am trying to include the feed on a Drupal 7 site. I am using feeds and when I post the feed URL, I get this error:

Thank you!

-Landi

Since the RSS feed is being consumed programmatically, os_authType=basic won't help you -- which is why you're seeing a 401 (unauthorized) status. You'll need to use os_username=XXX and os_password=YYY. I'd suggest creating a user that has read-only access before using that approach.

Hi Aseem!

Adding os_username and os_password worked! I was able to add the feed to Drupal with no issues. The &issues=activity+NOT+comment, however, isn't quite working for me. I am still getting comments.

Any suggestions? Thank you again! You have been such a big help :)

Awesome news! You're almost there.

Ideally, selecting the "RSS (Issues)" option should do the trick but since it does not, here's the workaround I suggest:

  1. Create a new dashboard
  2. Add the Activity Stream gadget to the dashboard
  3. Configure the gadget to display exactly those issues you wish to see and be sure to add a filter to the JIRA stream which excludes comment posts
  4. Use the URL for the RSS feed in the Activity Stream gadget (you should see the RSS icon in the top right corner). Be sure to replace os_authType=basic with os_username and os_password

Hi Aseem,

I will definitely let you know when I have it working. Thank you for all of your help.

-Landi

We ended up going in a different direction but your tips and answers helped greatly! Thanks, Aseem!

Landi,

I am trying to do this with WP and having the same issue, what was the exact RSS URL did you use?

Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Europe

Venue Needed! 23rd October

Hey Everyone! Unfortunately, the venue that was hosting us on the 23rd has pulled out so we're looking for a new venue.    If anyone would have a room free that we could use on the ev...

44 views 1 0
View post

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