Connect to JIRA Project via Visual Studio Add-in

How do I connect to a specific JIRA project from the Visual Studio (2012) add-in?

If I configure the add-in to use the base JIRA URL (https://<server>/CITnet/jira/) then the add-in connects & displays my filters; but no data is displayed.

From the browser I can use specicif project URLs (https://<server>/CITnet/jira/browse/<project>) but I get an HTTP 404 if I try this from the add-in.

Thanks,

Martin.

6 answers

This widget could not be displayed.

Hi,

You should configure the add-on with the base URL of your JIRA instance.

Once you see your filters, what happens when you click on a filter? Do you see your issues or is there an error message?

Janusz

Hello Janusz,

Thanks for the answer.

For the preset filters some give an HTTP 400 error and some do not. I get the impression that if there is data to be returned I get the error, & if there is no data for the filter then there is no error & the status line says 'Loaded 0 issues'.

For the saved filters I get no errors & no data (although in the web browser the filters do return data).

If I create a local filter I can see all the JIRA projects in the Add Filter dialog, but when I use the newly created filter I get an HTTP 400 again.

The remote server returned an error: (400) Bad Request.

System.Net.WebException

at System.Net.HttpWebRequest.GetResponse()

at Atlassian.plvs.api.jira.RssClient.getRssQueryResultStream(StringBuilder url)

at Atlassian.plvs.api.jira.RssClient.getCustomFilterIssues(String queryString, String sortBy, String sortOrder, Int32 start, Int32 max)

at Atlassian.plvs.api.jira.JiraServerFacade.<>c__DisplayClasse.<getCustomFilterIssues>b__a()

at Atlassian.plvs.api.jira.JiraServerFacade.setSessionCookieAndWrapExceptions[T](JiraServer server, JiraAuthenticatedClient client, Wrapped`1 wrapped)

at Atlassian.plvs.api.jira.JiraServerFacade.getCustomFilterIssues(JiraServer server, JiraFilter filter, Int32 start, Int32 count)

at Atlassian.plvs.models.jira.JiraIssueListModelBuilder.rebuildModelWithCustomFilter(JiraIssueListModel model, JiraServer server, JiraCustomFilter filter)

at Atlassian.plvs.ui.jira.TabJira.<>c__DisplayClass31.<reloadIssuesWithCustomFilter>b__30()

Regards,

Martin.

This widget could not be displayed.

do you have some kind of SSO (Single Sign-On) set up (like Active Directory authentication or Crowd integration)?

Logins are either JIRA accounts setup by the administrator or validated against the LDAP server. My login uses LDAP.

I assume that the add-in has actually logged in to the JIRA server as I can see the project list along with the associated components / versions when I use the dialog to add a local filter.

Hi,

CITnet is using Crowd as the SSO. Crowd is delegating the authentification to an internal ldap server for intramuros users and to a crowd directory for the extramuros users.

Bruno

This widget could not be displayed.

you are probably a victim of https://ecosystem.atlassian.net/browse/PLVS-350.

What version of JIRA are you using? The latest version of the add-on should behave better with JIRA 5.x

I don't have access to PLVS-350. We can register ourself on the ecosystem?

I think you should remove the dot from teh end of the URL (sorry for teh bad link). The project is public

I do confirm that our jira instance is using SSO with Crowd.

In our case, we use Crowd 2.4.2 and Jira 5.1.6

Hello again Janusz,

Thanks for the help & the link. Reading through the comments of PLVS-350 I arrived at the 'Authenticate with URL Parameters' advice.

This works for me as well. Enabling this option allows the filters to correctly retrieve the issues.

Thanks once again,

Martin.

This widget could not be displayed.

good to hear it is working for you now

This widget could not be displayed.

See the comment trails. This issue was fixed by checking the 'Authenticate with URL Parameter' option.

This widget could not be displayed.

Still fails for me with the same 400 error, even with that option checked.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 49m ago in Canada

Topic Tuesday - August 21

Hello and happy Topic Tuesday! We would love to continue to find out more about you. Here’s the question: What is one way Atlassian products have shifted the way your team works? Looking forw...

10 views 2 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