Axosoft OnTime integration
Learn how to configure and use the Axosoft OnTime extension with Unity Version Control (UVCS). You can use the Axosoft integration for Axosoft v14 and higher.
Configure the Axosoft server
Configure Axosoft so that Axosoft can connect with Unity Version Control (UVCS).
Obtain the Axosoft API key
To work with Axosoft, the UVCS client needs the client-id
and client-secret
parameters:
- Select Tools > System Options.
- In the System Settings window, select Axosoft API Settings.
- Select Enable API.
- Select Manage API Keys.
- In the new window, select Add to obtain the two parameters:
- Enter an application name.
- Copy the Client ID and Client Secret values.
- Select Save.
Refer to the Axosoft documentation on how to obtain a private API key.
Create a custom field
Create a custom field that UVCS can use to log changes in linked changesets:
- Select Tools > Fields > Custom Fields.
- On the Bugs tab, select Add.
- Enter the field label
Plastic SCM
and select Large Text as the field type. - Select Save.
Refer to the Axosoft documentation on how to add a custom field.
Configure the client for Axosoft
Configure your Unity Version Control (UVCS) client to work with your Axosoft integration.
There are different methods to configure the client depending on your operating system:
Regardless of your operating system, you need to configure the Axosoft parameters.
Configure the client on Windows
- In the Unity DevOps Version Control desktop application, select the context menu, then select Preferences.
- Select Issue Trackers.
- Select Bind to this issue tracking system.
- Select Axosoft OnTime.
- Select the repository that you want to apply binding to:
- If you want to bind to all of your repositories with the issue tracker, select Repositories.
- If you want to bind to a particular repository, select that repository.
- Select the working mode you want to use:
- Bind issues to Unity VCS branches (recommended): links one task to one branch.
- Bind issues to Unity VCS changesets: links one or more tasks to one or more changesets.
- Configure the Axosoft parameters.
Configure the client on Linux and macOS
Set a local Axosoft configuration on a Linux or macOS machine:
- Create the path
issuetrackers/<server_port>/<repository>
, and replacerepository
with one of the following values:- The name of the repository you want to link to the issue tracker.
allrepos
to link all of your repositories to the issue tracker.
- Copy the
ontime.conf
example into the new path from one of the following locations:- Linux:
<plasticscm_install_path>/client/extensions/config_samples
- macOS:
/Applications/PlasticSCM.app/Contents/IssueTrackerConfigSamples
.
- Linux:
- In the
axosoft.conf
file, edit the WorkingMode parameter to assign one of the following values:TaskOnBranch
: links one task to one branch.TaskOnChangeset
: links one or more changesets to one or more branches.
- Configure the Axosoft parameters.
- Edit your
client.conf
file to add the following key:<Extensions> <Extension AssemblyFile="plasticscm_install_path/client/extensions/ontime/ontimeextension.dll" /> </Extensions>
Note: You can also set a global extension configuration on the server.
Axosoft parameters
Use the following parameters to further configure your Axosoft integration:
Parameter | Description |
---|---|
Axosoft Root URL | Provide the required Axosoft root URL of the UVCS Axosoft extension to work. |
User and Password | Ensure each UVCS user has an Axosoft account and uses their Axosoft credentials to connect UVCS to the Axosoft server. |
Defects prefix Tasks prefix Features prefix Incidents prefix | Configure the branch prefixes to bind them to Axosoft objects when you use task on branch mode. For example, if you enable mapping for Axosoft Defects and Axosoft Tasks, you can use def to link branches to Defects and task for Tasks. |
Client ID and Client Secret | Fill in the tokens generated from the Axosoft admin panel to enable the integration. |
Plastic SCM custom field | Create a custom field on Axosoft for logging UVCS checkin information. |
Pending status list | Edit the list of statuses that UVCS considers as pending. This defines which tasks UVCS displays in the Create Branch dialog. Use a comma-separated values string. |
Use the Axosoft integration
Use one of the following working modes for your Axosoft integration:
Find issue information in the Axosoft extension panel. You can open the issue in the browser, add a new issue, or delete an issue. If you select the Open issue in browser icon, or double-click on the Axosoft task, UVCS opens the associated issue in a browser window. UVCS also uses the custom field in Axosoft to log every checkin for a linked branch or changeset.
Task on branch workflow
Task on branch is the default working mode. Each Axosoft task links to a branch in Unity Version Control (UVCS).
Link a branch to an issue
The branch name connects the branch to a Axosoft issue:
- Create a work item in Axosoft. Axosoft assigns each work item an identification number. Refer to the Axosoft documentation on how to add items.
- Create a new branch in UVCS. To link the branch, name the branch with the Axosoft bug identification, preceded by the branch prefix if you configured one.
- For example, if you configured the branch prefix
task
, and the Axosoft identification number is 4, name the branchtask004
.
- For example, if you configured the branch prefix
Task on changeset workflow
The task on changeset working mode allows you to link multiple changesets to multiple branches:
Link a changeset to an issue
Use the UVCS desktop application to link changesets to Axosoft work items:
- Create a work item in Axosoft. Axosoft assigns each bug an identification number. Refer to the Axosoft documentation on how to add items.
- Make the changes in UVCS.
- On the Pending Changes tab, select Show tasks to open the tasks side panel.
- Select the Add new issue (+) icon.
- Select issues from the list of pending tasks, or enter a comma-separated ID list if you can’t find the correct issue.
- Select OK.
To log the checkin information in the related Axosoft issue, enter a comment in the Checkin comments field, start the comment with the #
character followed by the issue key. For example, #def4: Updates
.