Configuring the OSLC Connector for Confluence to work with IBM Jazz
Before you can start managing references from Confluence to IBM Jazz, you must carry out the following configuration steps.
1. Establish the connection from Confluence to Jazz
Switch to the Confluence side and navigate to the "manage apps" area. You need admin rights to do that.
Put the Jazz certificate to the trust-store on the Confluence server.
Select the "Network Configuration" tab and set path to the trust-store.
Test the connection (2) with https://[ibm-jazz base url]:9443/jts/admin
2. Add Confluence as a Consumer on JTS Level on the Jazz Side (NON OIDC CASE)
You must add Confluence as a consumer to IBM Jazz on JTS level. Having done that, Jazz will propagate the consumer information to the application level. This means that all Jazz applications which are installed when you add Confluence as a consumer will also retrieve the consumer information.
There might be Jazz configurations that prevent the Jazz applications from inheriting from JTS. In this case you must add Jira as a consumer in every IBM Jazz application. Do this in IBM Jazz:
Go to https://[ibm-jazz base url]:9443/jts/admin
Select "Consumers (Inbound)" in the menu on the left
Add any consumer name, e.g. "Confluence".
Add a consumer secret twice. You will need to add the same secret later on the Confluence side.
Check "trusted".
Click "register". The consumer should be added to the list of consumers below.
Copy the consumer key from the newly-added consumer. You will need it on the Confluence side.
Make sure that all Jazz applications you want to connect to with Confluence have inherited the settings. If this is not the case. You must repeat the configuration steps on application level for DOORS Next, EWM, and ETM. Note, that the consumer for DOORS Next should be registered in JTS.
3. Add the Jazz application(s) as a friend to Confluence
Switch to the Confluence side and navigate to the "manage apps" area. You need admin rights to do that.
Select the "Friends Management" tab.
Click "Add Root Service Configuration"
Enter any Name like "DOORS Next".
Enter the root services url of your Jazz application's instance:
DOORS Next: https://[ibm jazz base url]:9443/rm/rootservices
ETM: https://[ibm jazz base url]:9443/qm/rootservices
EWM: https://[ibm jazz base url]:9443/ccm/rootservices
GC: https://[ibm jazz base url]:9443/gc/rootservices
Select the correct OSLC domain: "RM" for DOORS Next, "QM" for ETM, "CCM" for EWM, "GC" for GCM.
Save the friend.
Use the "Test" button to test if the IBM Jazz root service can be accessed from Confluence. The log should show a status "200".
4. Authorize the provisional OAuth consumer keys on the IBM Jazz side
Select the "Friends (Outbound)" tab
Authorize the provisional OAuth consumer keys you have added.
5. Whitelisting on the IBM Jazz Side
Whitelisting if the Application is reachable for Jazz
You must repeat the following steps for all IBM Jazz applications you want to use for linking Confluence model elements and IBM Jazz artifacts. If you are using global config management, you must also do the whitelisting in the global config management application.
Go to the admin page of an IBM Jazz application where you want to add a whitelisting. These are the typical URLs:
DOORS Next
https://[ibm jazz base url]:9443/rm/adminETMhttps://[ibm jazz base url]:9443/qm/adminEWMhttps://[ibm jazz base url]:9443/ccm/adminGCMhttps://[ibm jazz base url]:9443/gc/admin
Select "Whitelist (Inbound)" in the menu on the left.
Enter the base URL of the Jira instance you want to whitelist.
Click "Add".
You do not have to add a whitelisting at the JTS level. This will allow Confluence to display delegated UIs from an IBM Jazz application.
Whitelisting if the Application isn’t reachable for Jazz
Sometimes the Confluence Instance isn’t reachable from the Jazz Application than you can’t add it through the Whitelist Tab, but there is stille the posibility to add it manualle threw
Advanced Properties → Jazz Web UI (Ajax Services) → Clickjacking whitelist
in that list you can just add a comma separated whitelist by urls which are included in JAZZ CSP HEADER
6. Link Type Managment
You can use the pre defined custom Link Types which get shipped with the Confluence Plugin and start linking your artifacts
You can also define custom Link Types for Linking Artifacts.