Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira RSS Export without comments

lboogie December 18, 2013

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

1 vote
Answer accepted
Aseem Parikh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 18, 2013

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?

lboogie December 19, 2013

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

Aseem Parikh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2013

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?

lboogie December 19, 2013

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

Aseem Parikh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2013

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.

lboogie December 19, 2013

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 :)

Aseem Parikh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2013

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
lboogie December 19, 2013

Hi Aseem,

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

-Landi

lboogie March 30, 2014

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

0 votes
Mehmet Kazgan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 17, 2014

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
TAGS
AUG Leaders

Atlassian Community Events