Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ For more information, see [Best Practices for Managing AWS Access Keys](https://
- Select **Discover Main Account** to discover the main AWS account in addition to any AWS Roles accounts you select.
- Select the **Available AWS Roles** for the account(s) you want to discover using the arrow to add them to the **Chosen AWS Roles** list.

**Note:** See [Defining AWS Roles](#addedit-aws-roles) below for instructions on creating the AWS Roles that Devices42 displays for AWS cloud autodiscovery jobs.
**Note:** See [Defining AWS Roles](#add-and-edit-aws-roles) below for instructions on creating the AWS Roles that Devices42 displays for AWS cloud autodiscovery jobs.

- Choose one or more Amazon regions to search.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,43 @@ Support for the 'external' JSM Assets integration app [ended on December 30, 202

The instructions below describe the initial setup process of integrating Device42 with your JSM Cloud account.

## Integrate Device42 and Jira Service Management

With just a few minutes of setup, your Device42-Jira integration will allow you to link assets between the two systems.

### Prerequisites

This integration requires that you have:

* admin privileges to a running Device42 virtual appliance
* a Jira Service Management Cloud Premium or Enterprise account
* Admin privileges to a running Device42 virtual appliance [Update your software](https://device42.com/update/) or [download a free trial](https://device42.com/download/).
* A Jira Service Management Cloud Premium or Enterprise account.
* A network setup that allows the browser to access `jsm.device42.io`. Ensure outbound communication is not blocked by WAF or other network and security controls.

### Configure Cloud Services

We'll start by preparing Device42 for cloud service integrations. Navigate to **Tools > Integrations > Cloud Services**, and complete the following fields:

* **D42 URL for SaaS apps:** This is the hostname your Device42 instance is accessible on.
* **Company Name:** Your company name.
* **Email:** Your email address.

<ThemedImage
alt="Device42 Cloud Services"
sources={{
light: useBaseUrl('/assets/images/jsm-solution-guide/cloud-services-light.png'),
dark: useBaseUrl('/assets/images/jsm-solution-guide/cloud-services-dark.png'),
}}
/>

### Add an External Integration to Device42

Create an External Integration in Device42 by going to the **Tools > Integrations > External Integration** page. Click the **Create** button on the top left corner to open a form.

Fill in the URL you chose when creating your Jira account and select **Insight in JSM Cloud** as the **Type**.
- Fill in the URL you chose when creating your Jira account and select **Insight in JSM Cloud** as the **Type**.
- Click **Save**
- Copy the Device42 **Verification Token** from the External Integration.

Copy the Device42 **Verification Token** from the External Integration.
Note: The verification token changes after saving. Use the Token after saving the External Integration.

<ThemedImage
alt="Add external integration form"
Expand All @@ -38,16 +61,52 @@ Copy the Device42 **Verification Token** from the External Integration.
}}
/>

### Add the Device42 Assets App to Jira
ED NOTE: when does this happen?
### Connect the Integration App with Device42

Install the [Device42 for Jira Service Management Assets](https://marketplace.atlassian.com/search?query=device42) app from the Atlassian Marketplace.

Next, open the Device42 Insight Connect app and configure it by clicking on the **Settings** tab. In the "Device42 Cloud Connector" field type in `connect.device42.io`. Paste the verification token that you copied from the Device42 external integration into the "Device42 Verification Token" field. Click on the **Save** button.
Next, open the Device42 Insight Connect app and configure it by clicking on the **Settings** tab.

Navigate to the **Settings** tab and complete the two required fields.

1. **Device42 Cloud Connector** Enter URL of the Device42 connector here, for example, `connect.device42.io`.
2. **Device42 Verification Token** To get the verification token from your Device42 instance, follow these steps:
* In Device42, navigate to **Tools -> Integrations -> External integrations -> Add External integration**.
* Copy the token.
* Return to the app and paste the token into the verification token field.

TODO: update/remove image
![JSM Device42 app settings](/assets/images/jsm-assets-integration/jira-d42-app-settings.png)

Click the **Save** button and the app will attempt to connect to Device42.

A successful connection will display the green "Connection Enabled" status.

![connection enabled status](/assets/images/jsm-solution-guide/image38.png)

See the [JSM solution guide](solution-guides/jira-service-management-integration.mdx) for information on connection statuses, using object schema imports, and setting user permissions.
Following the app attempting to connect to Device42, the app displays one of six states:

* Connection enabled.
* Connection not enabled.
* Credentials do not exist.
* Error in verifying Device42 account.
* Request URL not found.
* An error occurred on Device42.

## Connect the Device42 for Jira Service Management Assets App

Install the Device42 for Jira Service Management Assets app and connect to Device42.

1. From the Jira Administration page, go to the **Connected apps** page and select **View app details**.

[Connected apps](/assets/images/jsm-assets-integration/connected-apps.png)

2. Go to **App settings** > **Set access token**.

[Set access token](/assets/images/jsm-assets-integration/set-access-token.png)

3. Paste in the Device42 Verification Token from the External Integration.

[Access token](/assets/images/jsm-assets-integration/access-token.png)

25 changes: 7 additions & 18 deletions docs/solution-guides/jira-service-management-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,6 @@ With just a few minutes of setup, your Device42-Jira integration will allow you

* Administrator privileges to a running Device42 virtual appliance. [Update your software](https://device42.com/update/) or [download a free trial](https://device42.com/download/).
* Administrator privileges to a JSM Cloud account.
* A network setup that allows the browser to access `jsm.device42.io`. Ensure outbound communication is not blocked by WAF or other network and security controls.

### Setting Up Device42

We'll start by preparing Device42 for cloud service integrations. Navigate to **Tools > Integrations > Cloud Services**, and complete the following fields:

* **D42 URL for SaaS apps:** This is the hostname your Device42 instance is accessible on.
* **Company Name:** Your company name.
* **Email:** Your email address.

<ThemedImage
alt="Device42 Cloud Services"
sources={{
light: useBaseUrl('/assets/images/jsm-solution-guide/cloud-services-light.png'),
dark: useBaseUrl('/assets/images/jsm-solution-guide/cloud-services-dark.png'),
}}
/>

Next, we'll set up a Jira integration. Navigate to **Tools > Integrations > External Integrations** and add a new external integration. Set the URL as the hostname for your Jira Cloud instance, like this:

Expand All @@ -60,6 +43,7 @@ Next, we'll set up a Jira integration. Navigate to **Tools > Integrations > Exte
}}
/>

NOTE: This is deprecated, no more JSM app
### Installing the Device42 JSM App

The next step is to configure Jira.
Expand All @@ -80,6 +64,7 @@ Once you’ve entered your verification token in the Jira configuration and save

![Jira Device42 account linked](/assets/images/jsm-solution-guide/image72.png)

ED NOTE: I suspect this feature is also deprecated and have not added it to the other page.
### Configuring Jira Issue Type Fields

Now we need to configure the Jira fields to use the data in Device42.
Expand All @@ -106,6 +91,9 @@ Click **View in Device42** to view the full details of the record in Device42.

![alt_text](/assets/images/jsm-solution-guide/image28.png)



#TODO: verify if this is still a thing without the JSM Cloud integration app thing (without assets)
### Customizing Syncing Device42 Record Types with Jira

It's important to note that, by default, only a subset of Device42 information is synchronized with Jira. This is controlled by a DOQL query and is customizable. You can change the DOQL queries in your Jira integration settings in **Device42 at Tools > Integrations > External Integrations**:
Expand Down Expand Up @@ -149,7 +137,8 @@ Click the **Save** button and the app will attempt to connect to Device42.

![](/assets/images/jsm-solution-guide/image38.png)

Following the app attempting to connect to Device42, the connection will display one of six states in the **Settings** tab:
Following the a
pp attempting to connect to Device42, the connection will display one of six states in the **Settings** tab:

* Connection enabled.
* Connection not enabled.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.