Technical account
Jira's Link Issues permission is all or nothing: whoever has it can link any issue they can see, with any link type, in Jira's own Linked work items section. Link rules alone can't stop that.
The technical account closes this gap. You remove Link Issues from regular users, and the app's own Jira account creates links for them, but only after checking the project's link rules.
How it works
When the technical account is on for a project, links made through Issue Link Guard in that project are created by the app's account instead of by the user. Before the app creates or removes a link, it checks, as the user who asked for it, that:
- the project's link rules allow the link type for that user
- the user can view both issues
- the user can edit the issue, or has Link Issues themselves
The link then appears in the issue's History under the app's account. The issue's activity log records the person who requested it. If the project has that option on, a comment on both issues names the person too.
Turn on the technical account
The Technical account tab is available only to Jira administrators.
To turn on the technical account for a project:
- Select Jira admin settings, then Marketplace apps, then Issue Link Guard, then Technical account.
- Next to the project, select Set up….
-
In step 1 of the dialog, check whether the app's account has Link Issues in the project's permission scheme. The step also lists all Link Issues entries of the scheme.
- Usually the account already has the permission through the project role
atlassian-addons-project-access, to which Jira adds app accounts. Then there's nothing to do. - If it doesn't, select Grant the permission to the technical account. The app adds one entry for its own account to the scheme. It never changes or removes any other entry.
Step 1 shows where the permission comes from and warns that the scheme is shared. - Usually the account already has the permission through the project role
-
In step 2, select Turn on the technical account.
- In Jira, edit the permission scheme and remove Link Issues from the users, groups, or roles who should link only through the app. The dialog has a link that opens the scheme.
Keep the entry for the project role atlassian-addons-project-access in the scheme. The app's account usually gets Link Issues through that role, and if it loses the permission, the project becomes misconfigured.
To go back, select Turn off next to the project. Links made through the app are then created by the users themselves again, with their own permissions.
The Technical account tab
| Column | Meaning |
|---|---|
| Project | Project name and key. |
| Permission scheme | The project's permission scheme. Shared by N projects appears when other projects use the same scheme. Select it to see them. |
| App can link issues | Whether the app's account has Link Issues in the project. |
| Technical account creates links | Whether the technical account is on for the project. No type rules marks projects where control is off or the project uses project restriction. The technical account then creates links of any type for everyone who can use Issue Link Guard there. |
| Last change | Who last turned the technical account on or off, and when. Turned off marks a change that turned it off. |
| Actions | Set up…, Turn off, or Fix permission… |
To find a project, type its name or key in Search projects by name or key. To sort the table, select the Project or Last change column heading.
Shared permission schemes
A permission scheme is often used by several projects. Any change to Link Issues in a shared scheme applies to all of them. If you remove the permission from a group for one project, that group loses it in every project that uses the scheme.
The app shows Shared by N projects in the table and repeats the list in the Set up… dialog. Before the app adds its own entry to a shared scheme, it asks you to confirm. If only one project should change, give that project its own permission scheme in Jira first.
Team-managed projects
Jira doesn't let apps change the permissions of team-managed projects, so step 1 can't add an entry there. The dialog explains this and links to the project's access settings. The app's account normally has its permission through the app role.
Fix a misconfigured project
The tab marks a project Misconfigured when the technical account is on but the app's account has lost Link Issues there, for example because someone removed the role atlassian-addons-project-access from the scheme. Until you fix it, nobody can link through Issue Link Guard in the project, and users see a message asking them to contact their Jira administrator.
The tab shows a red message naming the affected projects, and the overview page in the Apps menu lists them under Needs attention. To fix a project, select Fix permission… and grant the permission in step 1, or restore the role's entry in the permission scheme yourself. You can also select Turn off to turn the technical account off. Users then link with their own Link Issues permission.
Let users link from the panel without permission to edit
By default, the technical account changes an issue's links for a user only if the user can edit the issue or has their own Link Issues. Some teams want people who can only view issues to link them, for example to report that MOB-2 is blocked by WEB-3.
As a project administrator, open the General tab of the project's Issue Link Guard settings. Turn on Show the Issue Link Guard panel on issues, then Allow linking from the panel without permission to edit the issue, and select Save. Users allowed by the link rules can then add and remove links from the side panel without Edit Issues.
The option:
- works only when control is on and the project uses the technical account
- applies only to the side panel, not to the app's fields
- still requires the user to be able to view both issues
- still records every change in the activity log
Which account saves a change
| Situation | Saved by |
|---|---|
| The technical account is on for the project | The app's account |
| Picker field with Ignore project link rules | The app's account, even if the project doesn't use the technical account |
| Link chosen on the create screen | The app's account, because no user is signed in when the app creates it |
| All other cases | The user, with their own Jira permissions |
Whichever account saves the change, the project's link rules and the user's permissions decide who can link. The only exception is a picker field with Ignore project link rules, which skips the project's link rules.