Step 1. Jira: Add the Smartfacts Truststore to the Jira Plug-In
You must add the Smartfacts truststore to the Jira plug-in.
Step 2: In Jira, add Smartfacts as a consumer
Navigate to Admin -> Manage Apps -> Consumers Management.
Click Add Provisional Key.
Enter a consumer name.
Enter a consumer secret.
Copy the consumer key. You will need it on the Smartfacts side in step 3.
Step 3: In Smartfacts, add Jira as a friend
Open the MWH profile in Smartfacts. You must be an account manager to do this.
Switch to the Friends (Outbound) tab in the MWH profile.
Click the + button to add a friend.
Insert a name.
Select the domain of the friend. In the case of Jira this is CCM.
Select the type JIRA.
Paste the Consumer Key you have copied in step 2b.
Insert the same Consumer Secret as in step 2c.
Save the new friend.
Step 4: In Smartfacts, add Jira as a consumer
Switch to the Consumers (Inbound) tab.
Click the + button to add a consumer.
Insert a name and a secret and check the Approved box.
Copy the Consumer Key. You will need it on the Jira side in step 5.
Step 5: In Jira, add Smartfacts as a friend
In Jira, navigate to Admin -> Manage Apps -> Friends Management.
Open the Friends Management tab.
Click Add OSLC Source Configuration
Add a name.
Add the Rootservices URL of the OSLC instance that should become a friend. You can copy the URL from the Smartfacts tab of the MWH profile page.
Set the Domain of the friend you want to add to Jira. In the case of Smartfacts, this is AM.
Paste the OAuth Consumer Key you have generated in step 4.4.
Enter the same OAuth Consumer Secret you have used in step 4.3.
Save the new friend.
Step 6: In Jira, configure the link types
It is important that both tools, Smartfacts and Jira know the same link type that is used for linking. By default, we use the link type with the URI http://smartfacts.com/ns/am#tracedByIssue. This link type must be configured on both sides.
If Jira does not have this link type you must add it.
Select the “Link Types" tab.
Click Add Link Type.
Insert a name for the link type. As the Jira side is owning the link, Traces Architecture Element would fit well. On the other side the link type name would be Traced by Issue.
Set the target domain to AM.
Save the new link type.
You can also import a CSV file with all standard OSLC link types of Smartfacts.
Step 7: In Jira, add an association between Jira project and Smartfacts project
Switch associations on.
Select the Jira project you want to associate.
Select the friend you want to associate your Jira project to. This should be the Smartfacts instance. Having selected the Smartfacts instance, Jira will retrieve all Smartfacts projects available in the Smartfacts Model Warehouse.
Select the Smartfacts project you want to associate with the Jira project.
0 Comments