-
Bug
-
Resolution: Duplicate
-
Low
-
Severity 3 - Minor
-
Tested with
- Jira 6.3.1
- 2 connectors open (8080, 8081)
- Base URL set to http://localhost:8080/jira
- Stash 3.2
- 2 connectors open (7990, 7991)
- Base URL set to http://localhost:7990/stash
Steps to reproduce
Applink Setup
- Set up application link from Jira to Stash using http://localhost:7991/stash. Jira queries Stash's base URL http://localhost:7990/stash as Display URL.
- DO NOT check I am admin on both instance to prevent automatic applink creation (automatic applink creation would use the base url of JIRA for both application URL and Display URL.
- Set up application link from Stash to Jira using http://localhost:8081/jira. Jira queries Stash's base URL http://localhost:8080/jira as Display URL.
- DO NOT check I am admin on both instance to prevent automatic applink creation (automatic applink creation would use the base url of STASH for both application URL and Display URL.
- Configure the application link to use 2 legged oauth autentication WITHOUT impersonation.
Developement Panel testing
- Create a repo in Stash and push some commits with Jira issue keys in it
- View the issue in Jira.The commits will be listed in the Development Panel
- Click on the commits to see more details.
- Jira will prompt you to authenticate from Stash. Click Authenticate.
- Click allow in the prompted Stash screen.
Expected Behavior
The commit details popup in Jira should refresh and the commits would appear
Actual Behavior
The commit details popup in Jira continue to display the Authenticate to see related commits page. The following error is thrown in atlassian-jira.log
2014-08-20 21:00:21,741 devstatus.applink:thread-1 WARN admin 1259x255x1 zq20lw 0:0:0:0:0:0:0:1 /browse/DEMO-5 [apache.commons.httpclient.HttpMethodDirector] Unable to respond to any of these challenges: {oauth=OAuth realm="http%3A%2F%2Flocalhost%3A7991%2Fstash", oauth_token="", oauth_consumer_key="jira%3A01e5b3be-2ab5-4f19-9f1c-36f1cf8022d7", oauth_signature_method="RSA-SHA1", oauth_timestamp="1408539621", oauth_nonce="456133123505674", oauth_version="1.0", oauth_signature="LmdL1xvd34dOqEkyp0A5ZnFu8gJ30jfa7YrwJlGvWujgyf1vBGsndfbjzwqj35J6RgTUlXowHdcWs8LCJsm4A4KDA8BQf7KsllptU%2BosAVCT6c84Y0VqSBxSo8VOq4Gq98TE6xD875xEl8RbMWfDRjwfpGzPFLEuv%2BJrTsWdK84%3D"} 2014-08-20 21:00:21,743 http-bio-8081-exec-9 WARN admin 1260x315x1 zq20lw 0:0:0:0:0:0:0:1 /rest/dev-status/1.0/issue/detail [plugin.devstatus.provider.DefaultCoordinator] Requests failed: Stash (unauthorized)
- duplicates
-
JSWCLOUD-14878 Cannot View Bamboo Builds in Development Panel if Display URL is Different from Application URL
-
- Closed
-