Lynxwork Jira OSLC Server - Installation and Usage Guide
The Lynxwork Jira OSLC Server is provided as a standard Web Application Archive (.war) file. It can be deployed in any compatible servlet container, such as Apache Tomcat or Eclipse Jetty. It can also be packaged and executed within a Docker container.
This guide describes how to deploy the application:
- In a Docker container
- In an Apache Tomcat environment
The software distribution includes the following files:
| File | Purpose |
|---|---|
jira.war |
The deployable web application archive |
lynxwork.lic |
The required license file |
tomcat-context-template.xml |
Apache Tomcat deployment |
docker-compose-template.yml and Dockerfile |
Docker-based deployment |
Preparations
Before starting, make sure you have:
{connector_base_url}— The base URL that points to the location where the Jira OSLC Server will be deployed.- For example,
https://jira-connector.my-organisation.com/ - Ensure the HTTPS protocol is used with a trusted certificate.
- For example,
{jira_site_url}— The base URL of your Jira site. Typically takes the formhttps://my-organisation.atlassian.net{jira_cloud_id}— The Cloud ID of your Jira site. Simply make a request tohttps://my-organisation.atlassian.net/_edge/tenant_infoand record thecloudId.
Setup secure access to Atlassian Jira
The Jira Connector accesses the Atlassian Jira API on a user’s behalf using the provided “OAuth 2.0 authorization code grants (3LO)”. See OAuth 2.0 (3LO) apps for details. In particular, follow the Enabling OAuth 2.0 (3LO) instructions.
- From any page on https://developer.atlassian.com/, select your profile icon in the top-right corner, and from the dropdown, select Developer console.
- Create an app which will be used to obtain API credentials for the Jira Connector
- Select Create from the right corner, and then OAuth 2.0 integration
- Give your app a meaningful name such as “Lynxwork JIRA Connector”
- Under the created app settings, select Authorization in the left menu.
- Configure Authorisation
- Next to OAuth 2.0 (3LO), select Configure.
- Under Callback URL, enter the URL
{connector_base_url}/oslc/oauth2/callback
- Configure Permissions
- Select Permissions in the left menu.
- Next to Jira API, select Add, then select Configure
- Under Classic scopes, select Edit Scopes for the “Jira platform REST API” scope
- Check the box View Jira issue data
- Check the box Create and manage issues
- Press Save
- Under Granular scopes, select Edit Scopes
- Check the box Allows the user to read data from Forge apps for Jira (Towards the end, or search for
read:forge-app:jira) - Press Save
- Select Permissions in the left menu again
- Select Add Marketplace or custom app
- Under Select the Marketplace or custom app, select the Lynxwork Jira OSLC Client extension.
- Under Select the scopes, select
read:lynxwork-oslc-client-settings:custom - Press Add, then press Close
- Check that you have 4 scopes in total
- 3 under the Jira API
- 1 under the Lynxwork Jira OSLC Client
- Select Settings, and make a record of the following parameters:
- Client ID - We refer to this value as
{client_id} - Secret - We refer to this value as
{client_secret}
- Client ID - We refer to this value as
- Click Save changes
Deploy within a Docker container
- Install Docker Engine from the Docker website.
- Create a deployment directory of your choice (e.g.
/opt/jiraconnectoron Linux, orC:\jiraconnectoron Windows) and copy the provided files into it:jira.war- Dockerfile
docker-compose-template.yml
- Rename
docker-compose-template.ymltodocker-compose.ymlin that deployment directory. - Copy the license file into a suitable location. For example, copy it alongside
docker-compose.ymlmaking the setup self-contained. Update the corresponding volume mapping indocker-compose.yml:/opt/jiraconnector/lynxwork.lic:/var/lib/jetty/lynxwork.lic - Create an oauth subfolder in a suitable location. For example, alongside
docker-compose.yml. Update the corresponding volume mapping indocker-compose.yml:/opt/jiraconnector/oauth:/var/lib/jetty/oauth - Edit
docker-compose.ymland replace all remaining values enclosed in{}with the appropriate configuration values for your environment. - Run the Connector from the deployment directory: docker compose up -d
- Access the application at
{connector_base_url}.
Deploy in Apache Tomcat
- Install Java 21 JDK from Adoptium.
- Install Tomcat 10 from the Apache Tomcat website. We refer to the Tomcat installation directory as
<TOMCAT_HOME>. - Copy the
jira.warfile to Tomcat’s webapps directory, typically located at<TOMCAT_HOME>/webapps/ - Copy the provided
lynxwork.liclicense file to<TOMCAT_HOME>/lynxwork.lic. - Create an oauth folder at
<TOMCAT_HOME>/oauth/. Ensure Tomcat has write permissions to this folder. - Copy and rename the provided
tomcat-context-template.xmlto<TOMCAT_HOME>/conf/Catalina/localhost/jira.xml - Edit the copied context file and replace all values enclosed in
{}with the appropriate configuration values for your environment. - Restart Tomcat.
- Access the application at
{connector_base_url}
Configuring Consumer Applications
The Jira OSLC Server implements the OSLC standard. Connecting to the server from an engineering application is typically done following OSLC’s discovery capabilities. Consult the manual of the consumer application for further configuration details.
- To configure PTC CodeBeamer, refer to its Client Guide.
- To configure Siemens Polarion, apply Polarion 2512 and Polarion’s Linked Data applications overview.
Usage Guide
To create traceability links to Jira items, consult your consumer application’s manual for details.
- To connect from PTC CodeBeamer, refer to its Client Guide, section “Using the DPT Client”.
- To connect from Siemens Polarion, apply Polarion 2512 and Polarion’s Add Linked Data Items to Work Items instructions.