2017-01-17 4 views
2

私のチームはAtlassianサーバーでJiraプロジェクトを持っています。私の質問は、そのプロジェクトをIntelliJ IDEA IDEに接続する方法です。無料のJIRAインスタンスでIntelliJ IDEAを接続

IntelliJからAtlassianへの接続を作成するときに、資格情報を持つサーバー名とユーザー名が必要です。 この場合、Server URLの値は何ですか?

UPDATE - エラーログ:

com.atlassian.theplugin.commons.remoteapi.RemoteApiException: my_username:[password XX chars]@https://instance.atlassian.net 

Login failed 
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.wrapWithRemoteApiException(JiraRestSessionImpl.java:800) 
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.login(JiraRestSessionImpl.java:180) 
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.testConnection(JiraRestSessionImpl.java:762) 
    at com.atlassian.connector.commons.jira.JiraRESTFacade2Impl.testServerConnection(JiraRESTFacade2Impl.java:329) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:498) 
    at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl$1.invoke(JIRAServerFacade2Impl.java:91) 
    at com.sun.proxy.$Proxy40.testServerConnection(Unknown Source) 
    at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.testServerConnection(JIRAServerFacade2Impl.java:268) 
    at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.testServerConnection(IntelliJJiraServerFacade.java:473) 
    at com.atlassian.theplugin.idea.config.serverconfig.ProductConnector.connect(ProductConnector.java:35) 
    at com.atlassian.theplugin.ConnectionWrapper.run(ConnectionWrapper.java:63) 
Caused by: com.atlassian.jira.rest.client.RestClientException: Login failed 
    at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:82) 
    at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.postAndParse(AbstractJerseyRestClient.java:140) 
    at com.atlassian.jira.rest.client.internal.jersey.JerseySessionRestClient.login(JerseySessionRestClient.java:54) 
    at com.atlassian.connector.commons.jira.rest.JiraRestSessionImpl.wrapWithRemoteApiException(JiraRestSessionImpl.java:797) 
    ... 13 more 
Caused by: com.sun.jersey.api.client.UniformInterfaceException: Client response status: 401 
    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:607) 
    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) 
    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:507) 
    at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient$4.call(AbstractJerseyRestClient.java:144) 
    at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:68) 
    ... 16 more 
+0

経由でも利用できるのか? –

+0

@AntonDozortsev私はIntelliJ IDEA Ultimate 2016.2.5にAtlassian Connectorを持っています。 – Aleksandar

答えて

1

あなたはブラウザ経由でのJIRAのアカウントにログインしてURLを取得することができます。サーバーURLは、URLの最初のセクションで、 '/'の前にあります。

例:
https://example.atlassian.net/secure/Dashboard.jspa
サーバーのURL = https://example.atlassian.net

更新:
はまた、アトラシアンは、2015年4月20日以来、IDEコネクタのサポートを停止していることに注意してください、developer.atlassian.com/blog/2015/ 06/...だから、IntelliJをJiraに接続することを検討してみましょう.WebHooks経由でGitHubなどの他の手段を使用してください。

+0

私の場合、例は 'インスタンス'です。だから、私の資格情報を入力すると失敗したログインが表示されますが、資格情報は良好です。 – Aleksandar

+0

入力した画面は次のようになりますか? [Atlassian Connector IntelliJ Screen](https://confluence.atlassian.com/download/attachments/148767098/servers-configuration.png?version=1&modificationDate=1324302205365&api=v2 ) –

+0

非常に似て、はい。 – Aleksandar

0

Atlassian Connectoを使わずにJIRAを接続する方法を探している人

IntelliJ IDEA Tasks Server Settings

通常は、「検索」を編集する必要はありません:R、のIntelliJ IDEAでシンプルなビルドインソリューションは、すでに存在しています。

、それはあなたがのJiraとのIntelliJを接続するために、いくつかのプラグインを使用トップメニュー"Tools" -> "Tasks & Contexts" -> "Configure Servers..."

関連する問題