-
Bug
-
Resolution: Fixed
-
Medium
-
4.2.1
Problem
Confluence gets lost when renaming application links.
Error rendering macro 'jira' : Couldnt find an application link with the name {0}.
Steps to reproduce:
Confluence 4.2.1 (Win 64-bit)
JIRA 5.0.3 (Win 64-bit)
- Install JIRA
- Use Eval DB
- Port 8080
- Admin: jiraadmin
- Install Confluence
- Use Eval DB
- Port 9090
- Admin: confadmin
- In JIRA Administration, create App Link to Confluence
- URL: http://<hostname>:9090
- Name: JIRA (localhost)
- NOT a trusted link
- Create reciprocal link
- Configure link for Oauth, both ways
- Change default permission scheme to allow "Anyone" the "Browse projects" right
- Create JIRA project
- Create test issue in JIRA, copy the URL to the clipboard
- Go to Confluence dashboard
- Create new page
- Paste URL from JIRA into page (Confluence automatically converts it to the JIRA issue macro)
- Or "Insert Jira Issue" and then select a single JIRA Issue.
- Save page
- NOTE: No error message
- Go to Confluence Administration
- Go to application links
- Configure the link
- Rename the "Application Name" to something different
- E.g., "JIRA (localhost)" -> "JIRA (localhost) - Test Rename"
- Reload the Confluence page you previously created
- Note the error in place of the macro to the JIRA issue.
Workaround
Delete and Recreate the Link with Another name.
- is duplicated by
-
CONFSERVER-27999 Changing application link name breaks all macros linked to that application
-
- Closed
-
- is related to
-
CONFSERVER-39409 old JIRA links missing serverID-parameter entries
-
- Closed
-
-
CONFSERVER-38772 jiraIssueMacroServerParamsUpgradeTask incorrectly suggest failure in log
-
- Gathering Impact
-
- was cloned as
-
CONFSERVER-34998 Updating Application Link cause rendering problem: "Error rendering macro 'jira' : Unable to locate JIRA server for this macro. It may be due to Application Link configuration"
-
- Gathering Impact
-
@Robert Stooß, see my comment right above yours. Try rerunning the upgrade step manually (see my comment from 24/Apr/2015 2:30 PM).