Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.6.3
Description
When Confluence has Application Links created for more than one JIRA, if the user tries to create a new issue through JIRA Issues Macro on the JIRA that is not set to primary on the applinks list, Confluence actually creates the issue on the primary JIRA instead.
Also, if both projects (from Primary JIRA and the other JIRA) have different types for issues, the creation button won't work, keeping Confluence on the same screen.
Steps to reproduce:
- Install 2 JIRA 6.2.3 instances
On JIRA 1 - Create a new Software Development project called "Project1"
On JIRA 2 - Create a new Simple Issue Tracking project called "Project2"
The Project Type does not matter, we just need to create a custom Issue Type - On JIRA2. create a custom Issue Type called "new", for example
- Now, install a Confluence 5.6.3
- Create the application links between Confluence and those 2 JIRA instances
- Set JIRA1 to primary on Confluence's applinks list
- Create a page on Confluence
- Insert the JIRA Issues Macro
- Create a new issue
- Server = JIRA1, Project = Project1, issue type = Bug, fill in summary and description
- Click insert
- Issue is created and displayed on page
- Save the page
- Edit the page
- Insert the JIRA Issues Macro
- Create a new issue
- Server = JIRA2, Project = Project2, issue type = new, fill in summary
- Click on insert
- No response - popup still open, nothing changed
- Change issue type to New Feature, fill in summary
- Click on insert
- The issue is inserted, however, if you look at this just created issue, it was actually created on JIRA1 (Project1) instead of JIRA2 (Project2)
Also, another issue related to this bug is if the secondary JIRA (JIRA2) has 2 projects while the primary JIRA (JIRA1) has only one. If the user selects the second project, Confluence shows a red error text: "Project is required"