Skip to Content

HaloPSA Integration

ScopeStack integrates with HaloPSA to push approved project details into HaloPSA and create a project with milestones and tasks from the elements of your ScopeStack project.

Prerequisites

  • A HaloPSA Application registration with the permissions below
  • A HaloPSA agent for that Application to authenticate as, with the permissions below
  • ScopeStack Connected Apps permission at the Manage level

Setting Up in HaloPSA

  1. Navigate to Configuration > Integrations.

  2. Click HaloPSA API. The Integrations page lists available integration categories; select HaloPSA API to continue.

  3. Click View Applications. The HaloPSA API page shows general API settings and a View Applications button that opens your registered application list.

  4. Click New in the top-right corner of the Applications page.

  5. On the Add Application page, enter an Application Name (something with “ScopeStack” in it is recommended) and set the authentication method to Client ID and Secret (Services). Set Login Type to Agent, then use Agent to log in as to choose the HaloPSA agent this Application will authenticate as. Click Save. The page will display your Client ID and Client Secret after saving.

    Note: Write down and keep your Client Secret immediately — it is only shown once.

    The agent you choose here matters. See HaloPSA Agent Permissions below.

  6. On the Applications page, click the Permissions tab. Click the edit button at the top of the page, check the all permission checkbox, and save. ScopeStack requests the all scope when it authenticates, so grant all rather than a narrower scope such as all:standard.

  7. Click the Security tab. Enter https://app.scopestack.io in the CORS Whitelist field and click save.

HaloPSA Agent Permissions

HaloPSA applies two layers of access control to an API Application, and both have to allow an action for it to succeed. The Permissions tab in step 6 sets what the Application may do. The agent you picked under Agent to log in as sets what that agent may do. HaloPSA’s documentation states that an Application’s permissions “will apply in addition to the agent/role restrictions,” so checking all on the Application does not lift a restriction that exists on the agent.

Use a dedicated agent for this rather than a person’s login, so the integration’s access does not change when someone’s role does.

This is what the integration does in HaloPSA, and the access each part needs:

What ScopeStack doesAccess the agent needs
Syncs your client list, as soon as the connection is activatedRead clients
Creates the project and sets its milestonesCreate and edit tickets of the project ticket type
Creates project tasks and subtasks, or updates tickets from a selected templateCreate and edit tickets
Reads back the tasks on a project, including hours logged against themRead tickets, including unassigned tickets and tickets assigned to other agents
Removes a task from a project when the service is no longer on itDelete tickets
Populates the Company and Status dropdowns and reads project templatesRead clients, statuses and ticket templates

In an agent’s role configuration, two of those map to fields HaloPSA documents directly: Tickets Access Level: Read and Modify and Can add new Tickets: Yes. The agent also needs read access to customers and no ticket-type restriction, which integrator documentation gives as Customers Access Level: Read Only and Allow use of all Ticket Types: Yes. We have not confirmed those last two labels against HaloPSA’s own documentation, and field labels vary between HaloPSA versions. HaloPSA’s guide to restricting an agent’s access  covers where these settings live.

Three restrictions are worth checking specifically, because each produces incomplete results rather than an error:

  • Ticket type access. In HaloPSA a project is a ticket type, and so is a project task. If the agent’s role limits which ticket types it can use, both have to be included, with create and edit rights.
  • Team and client scope. The agent has to be able to see the teams and clients your projects belong to. An agent scoped to a subset produces a short Company dropdown in ScopeStack, or a project that looks like it has fewer tasks than it does.
  • Delete rights. If ScopeStack runs another push after a service was removed, it attempts to delete the matching HaloPSA ticket. The ticket can remain in HaloPSA if the agent lacks delete rights.

An agent with administrator-level access satisfies all of this and is the quickest way to get connected. If your security policy calls for a scoped agent, build it to the table above.

Configuring in ScopeStack

Have your HaloPSA Host, Client ID, and Client Secret ready. Navigate to Settings > Account > Connected Apps and click the HaloPSA tile, then click Add Integration on its About page.

On this screen: The Connected Apps page lists available integrations as tiles. Locate the HaloPSA tile and click it to open its About page, which has the Add Integration button.

On this screen: The Configure Integration window prompts you for three required fields, labeled * HaloPSA Host, * Client ID, and * Client Secret. Fill in the values from your HaloPSA application registration.

Configuration Options

HaloPSA Host

Your company’s HaloPSA URL (e.g., companyxyz.halopsa.com). This is usually the first part of the URL you see while setting up the integration on HaloPSA’s website.

Client ID

Found on the HaloPSA Application Details page.

Client Secret

Found on the HaloPSA Application Details page. This is only shown once at creation time.

Verifying the Connection

After entering your credentials, click Continue. The next step, “Select features with which to integrate,” shows PSA already checked, because it is the only feature HaloPSA offers. Click Complete. When the window reports “This integration has connected successfully!”, your integration with HaloPSA is complete. Closing the window opens the new connection, and its status also shows as Connected in the table at the top of the Connected Apps page.

Creating a HaloPSA Project from ScopeStack

ScopeStack maps project elements to HaloPSA as follows:

  • ScopeStack Project Name > HaloPSA Project Name
  • ScopeStack Phase > HaloPSA Milestone
  • ScopeStack Services > HaloPSA Project Task
  • ScopeStack Sub-Services (if selected) > HaloPSA Project Subtask or Project Task, depending on the task-creation option you choose (see below)
  • ScopeStack Governance Items (if selected and assigned to a phase) > HaloPSA Task named “Project_Management”

Phases only become milestones if the ticket type allows milestones

The phase-to-milestone mapping above depends on a setting on your side, in HaloPSA.

ScopeStack creates the HaloPSA project using ticket type 5, and the tasks under it using ticket type 20. Both are fixed and neither is configurable from ScopeStack. The project template list is the exception. It is built from your instance’s own project ticket types rather than from type 5, so an instance that numbers its project type differently still sees its templates.

⚠️ Ticket type ids are per-instance in HaloPSA. The two ScopeStack uses are the ids from one customer’s instance, and they are only correct elsewhere by coincidence. If your instance numbers its project ticket type differently, the push will not land on the type you expect. HaloPSA also only creates milestones on a project type that has milestones enabled in its own settings.

When HaloPSA returns a project with no milestones, ScopeStack records the failure rather than hiding it. The push continues, the tasks are created, and each one is created with no milestone. The project’s PSA Project page then shows a message beginning “Could not create PSA project. HaloPSA created no milestones for project …”, naming the phases that were sent and what HaloPSA answered. The same line is written to the integration activity log.

If your pushed projects arrive with tasks but no milestones, read that message first, then check the project ticket type in HaloPSA: which id it is, and whether milestones are enabled on it.

Requirements

  • The project must be approved (or won) in ScopeStack
  • HaloPSA Connected App must be configured
  • PSA must be switched on for the connection. Open Settings > Account > Connected Apps, open the HaloPSA connection, go to the Additional Features tab, and check PSA. The button appears only when your account has an enabled PSA connection. If PSA is disabled for the connection, opening the new PSA project form redirects back to the project with a message beginning “PSA integration is not enabled for this account.”

Step-by-Step

For the first push of an approved or won project, select Push To PSA in the project header to open Push to PSA Project.

Note: Use POST /v2/projects/{id}/psa-project for the first push from an API integration. V1 creation only saves the PSA record. Once a PSA record exists, the in-app Push To PSA action opens PSA Project. If a push is still running, wait and check that record. An unlinked record offers Resubmit to PSA only after a push error is saved and you have push access. An explicit API PATCH can create a fresh project if the saved mode is Create New Project and there is no linked CRM opportunity. See PSA project IDs in the v2 API.

For the shared PATCH request and steps to check the export, see Push Projects to a PSA Using the V2 API.

When creating a new project through the API, if you omit project-options.company, ScopeStack uses the client’s company mapping for the selected HaloPSA connection. If there is no client mapping, it uses the linked opportunity’s company only if the opportunity came from the same connection. If neither is available, send the HaloPSA company ID explicitly.

The platform will take you to a configuration screen where you need to define:

  • Export Project As: Create New Project or Use Existing Project.

  • Estimated Start Date and Estimated End Date for your project.

  • Company — type at least 3 characters to search your HaloPSA accounts. The page opens with the company that matches the project’s client already selected, when the client has one.

  • For Create New Project, select * Status. Priority also appears if HaloPSA returned priorities.

  • The * How should Tasks be created in HaloPSA? dropdown controls how services and subservices map to HaloPSA. If you use a new-project template, use the mapping table described below. The four dropdown options are:

    • Create a Project Task for each ScopeStack Service — one Project Task per service; subservices are not pushed.
    • Create a Project Task for each ScopeStack Service and create a Project Subtask for each ScopeStack subservice — a task per service, with each subservice nested underneath it as a subtask.
    • Create a Project Task for each ScopeStack Service and Subservice with revenue greater than 0 — per service, one or the other, never both: if the service itself carries revenue it becomes a Project Task and its subservices are not pushed; if it does not, but one of its subservices does, tasks are created for that service’s subservices instead.
    • Create a Project Task for each ScopeStack Subservice — one task per subservice.

    Only …create a Project Subtask for each ScopeStack subservice nests subservices beneath their service’s task. In the …with revenue greater than 0 and …for each ScopeStack Subservice options, subservice tasks attach directly to the project, so the parent-service relationship is not represented in HaloPSA.

  • Create HaloPSA Tickets for ScopeStack Governance Items? — if set to Yes, creates HaloPSA Tasks from your individual governance items in ScopeStack.

On this screen: With Create New Project selected, set Use a HaloPSA Project Template? to Yes. Pick a template in * Template. The table shows ScopeStack Service and HaloPSA Ticket. Choose a template ticket for each service you want to map.

On this screen: With Use Existing Project selected, choose an existing HaloPSA project in * Available Project. The form then shows How should ScopeStack Data be Imported?. Choose one of these options before submitting.

  • Create phases and tickets uses ScopeStack’s phases and ticket settings.
  • Add services as tasks on existing tickets shows a table with ScopeStack Service and HaloPSA Ticket. Map the services to their target tickets.
  • Add services as tickets on existing phases shows a table with ScopeStack Phase and HaloPSA Phase. Map each ScopeStack phase to the phase where its tickets should go.

After you complete your configuration and press Submit, it may take a few minutes for the project to be created.

Updating a Project

You can retry a failed push if it has a saved error and no linked HaloPSA project. On the PSA Project page, select Resubmit to PSA to run the push again with the saved settings. You need Create or Manage on the PSA project permission.

ScopeStack blocks in-app resubmission for linked HaloPSA projects because another push can create duplicate tickets.

On this screen: For users with push access, the PSA Project page shows the linked PSA project ID and directs you to ScopeStack Support if another push is needed.

New to ScopeStack?

ScopeStack automates scoping, pricing, and SOW generation for IT services teams. See how it fits your process.

Book a demoBrowse the docs
Last updated on