Settings pages: display preferences, Slack and Teams, webhook history, work item type mapping and text fixes
Description
The Teams parts of fixes 4 and 5 land with the AP-2146 merge (Teams settings page and the shared Slack and Teams connection form); everything else ships without it.
Problem
A review of the settings pages found behaviour that does not match what the page shows, links that do not open, documentation links that look different on every page, and wrong or inconsistent texts. Each item says which product it concerns.
Change
Display preferences (Jira)
-
Global preferences: an admin who unticks every location saves an empty list. The panel is then hidden on every work item for users without their own preferences, but after a reload the page shows all three locations ticked. The page shows what is stored: no location ticked after such a save.
-
Personal preferences of a user without their own: the page never reads the global preference and shows all three locations ticked, whatever the global preference is (the request for the user's own preference fails without a status, so the fallback to the global one never runs). The page shows the global preference, as the panel behaves: all three locations when no global preference was ever saved.
-
Ticking "Use custom preferences" saves the locations the page shows. Because of fix 2 it used to save all three, so the panel appeared in locations the global preference hides. After fix 2, turning on custom preferences changes nothing until the user changes a location.
Slack and Teams (Jira and Confluence)
-
The "Documentation" link next to "Connect with Slack workspace" (Slack page) and "Connect new tenant" (Teams page) has no address and opens nothing.
-
Slack opens "How to Connect Approval Path for Jira with Slack" in Jira and "How to Connect Approval Path for Confluence with Slack" in Confluence.
-
Teams has no published documentation page yet, so its link is removed until the page exists.
-
-
The warning about enabling interactive actions ("To enable interactive actions from Slack…" and "To enable interactive actions on Teams cards…", "go to Settings > Notifications and enable both Action buttons in notifications and Actions without login") shows even with no connection or when that chat app is not the notification mechanism. It shows only when a connection exists (for Teams, a confirmed tenant) and that chat app is the notification mechanism.
Webhooks (Jira and Confluence)
-
Call history shows 3xx status codes in neutral grey, while the "Error" filter and the approval's notification failures ("Webhook delivery") count them as failures (redirects are not followed). Every code outside 2xx is shown in red, like other failures; a cancelled call stays grey.
Work item type mapping (Jira)
-
Clearing a type in "Add mapping" stored an empty mapping: the dialog showed the type as not mapped, while the work item type condition of approval paths still treated it as the global type with the same name. The dialog now shows what the condition uses:
-
clearing a type (or "Set Default") selects the global type with the same name, shown with the "Default" lozenge; a type with no name match stays empty and is not mapped;
-
names are compared untranslated, as the condition does, so the dialog and the condition agree on sites in any language;
-
a work item whose team-managed type is not mapped and has no name match is offered only approval paths without a work item type condition. Before, it was also offered approval paths limited to other types, and starting one failed. Rovo names the work item type limit as the reason in that case.
-
-
The "Mapping count" column counted every saved row, including empty ones. It counts the types that are mapped: to a stored global type that still exists, or to the global type with the same name.
-
Texts:
-
success flag "Work items types mappings saved successfully" becomes "Work item type mappings saved.";
-
error flag "Unable to save issue mapping" becomes "Couldn't save work item type mappings. Please retry.";
-
settings menu item "Work Items type mapping" becomes "Work item type mapping", and the page title "Settings / Work mapping" becomes "Settings / Work item type mapping".
-
Links that do not open (Jira and Confluence)
-
These links use a plain link that the app frame blocks, so clicking them does nothing. They open in a new tab like the app's other external links:
-
"OlivLang syntax guide" under the prompt on the AI Prompt step;
-
"Learn more about Markdown formatting" in the "Custom reminder" template on Settings > Message templates;
-
links, link cards, embedded link cards and macro links in the content shown in the approval's reference panel (the work item description and rich text fields in Jira, the page body in Confluence);
-
documentation, blog and "support team" links on the Get started page;
-
the space name, key and avatar in the work item type mapping table (Jira);
-
"Read more" on the page shown to a user without access to a space's Approval Path pages.
Cancelling the "Opening external page" prompt of any link or button that opens a page no longer raises an error.
-
Texts
-
AI Prompt step, panel shown when AI is off or has no provider (Confluence): "Use them to summarize work items, assess risk..." says "Use them to summarize pages, assess risk..." in Confluence. Jira keeps "work items".
-
User step (Jira and Confluence): "Allow change of the user during the process." loses the final period, to match "Allow change of the email during the process" on the Email step.
-
Settings > Charts: "Charts use these colors in order, starting with the first. Colors set on an individual gadget override the palette." is wrong in two ways: charts by status, priority or age keep fixed colors, and Confluence has no gadgets. New text:
-
Jira: "Charts use these colors in order, starting with the first. Charts by status, priority or age keep their own colors. Colors set on an individual gadget override these."
-
Confluence: "Charts use these colors in order, starting with the first. Charts by status, priority or age keep their own colors."
-
-
Settings > AI > Data sharing (Jira): the basic fields list says "project name" and "issue type". It says "space name" and "work item type".
Saving and loading on the same pages (Jira)
-
Personal preferences: when reading the user's own preferences fails for a reason other than "never saved", the page shows "Failed to load display location preferences", as the global page does, instead of silently showing the defaults.
-
Global and personal preferences: the location checkboxes and "Use custom preferences" are disabled while a save is running, so two saves cannot overlap and leave stored locations that differ from the page.
-
Work item type mapping: when loading the stored mappings fails, the page shows "Couldn't load work item type mappings. Please retry." and no spaces. Before, it showed every space with the same-name defaults, and saving the dialog overwrote the stored choices.
-
Work item type mapping: when saving fails, the dialog stays open with the changes, so the user can retry as the error flag says. The page also no longer loads every Jira space while the global settings are still loading and the work item type condition turns out to be off.
Documentation links (Jira and Confluence)
-
Documentation and help links look different on each page: some are text with an icon, one is a bordered button, one ends with "↗", some have no icon. Every documentation link looks like the "Documentation" link of a step in the definition editor: link text and the external link icon, in the link colour. This covers the definition editor (steps and parallel groups), Settings (Message templates, Webhooks, AI, the AI provider's "get an API key" link, Slack, Permissions), the OlivLang, Markdown and Slack formatting guides, the email carrier help (SMTP, STARTTLS, Gmail API, Microsoft Graph), the Jira expression help on conditions, the Get started page and the page shown to a user without access.
Fixes after QA
-
Documentation links that opened an "Invalid link" page open published pages (Jira and Confluence): "Documentation" in Settings > AI (the AI configuration page), the "Documentation" link of the AI Prompt step and, in Jira, of User, Group and Email steps that take the approver from a work item field, and "Privacy and Data Security Statement" on the Get started page (the Warsaw Dynamics Privacy and Data Security Statement).
-
Create and Edit Condition (Jira): a space separates "Add condition" from the "expression" link.
-
Personal preferences (Jira): the QA app stores a user's display locations under its own key, so changing them in one app installed on the same site no longer changes the other. The production app keeps its key and users keep their saved preferences (AP-2544).
-
Work item type mapping (Jira): custom icons of team-managed work item types load in the mapping dialog (AP-2545).
Decisions
-
Fix 7: clearing a type falls back to the global type with the same name (shown with the "Default" lozenge); a type with no name match is not mapped.
-
Fix 4: the Slack link opens the Slack integration page of each product's documentation; the Teams link is removed until its page is published.
Out of scope
-
Already done in AP-2146: the default connection's toggle cannot be switched off (shared Slack and Teams form).
-
Step decision webhook for skipped steps: a skipped step does not send a step decision webhook today, so no "rejected" is sent for it.
-
The approval path filter on the customer portal's Approvals tab is limited to the work item's type, so approval paths limited to other types are missing from it.
-
A failed read of the global display preference looks like "never saved", so the page shows all three locations ticked.
-
Other texts on these pages that are correct today.
Acceptance criteria
-
Global preferences (Jira): unticking every location and reloading shows no location ticked; the panel is hidden.
-
Personal preferences (Jira) without the user's own: the page shows the global preference (all three locations when none was saved); turning on "Use custom preferences" keeps the panel where it was.
-
Slack: the documentation link opens the Slack page of the product's documentation; the interactive actions warning shows only with a connection and Slack as the mechanism. Teams: the same after the AP-2146 merge, with no documentation link.
-
Webhook call history shows 3xx codes in red.
-
Work item type mapping: after clearing a type, the dialog shows the same-name type with "Default" and the work item type condition uses it; a type with no mapping and no name match is offered no type-limited approval path; "Mapping count" counts mapped types only; the new texts are shown.
-
Every link in fix 10 opens in a new browser tab, in Jira and in Confluence; cancelling the external page prompt shows no error.
-
The texts of fixes 11 to 14 are shown as written, each only in its product.
-
Preference checkboxes cannot be changed while a save is running (fix 16); a failed mapping save keeps the dialog open with the changes (fix 18).
-
Every documentation link in fix 19 shows text and the external link icon in the link colour.
Manual tester notes
-
Display preferences: check the panel on a work item in all three locations (work item content, Activity tab, Details tab) after each change. For fix 2, use a user without their own preferences, set the global preference to one location, and check the personal page shows only that location ticked.
-
For fix 5, check the Slack page with and without a connected workspace, and with each notification mechanism.
-
For fix 6, point a webhook at an https URL that answers with a redirect (webhook URLs must use https), for example https://httpbin.org/status/302.
-
For fix 7, use a team-managed space whose type names match the global types (for example "Task") and a type whose name matches none; check the dialog, the "Mapping count" and the approval paths offered on a work item before and after clearing. Repeat once with the Jira profile language set to another language.
-
For fix 10, check the reference panel in Jira with a work item description, and in Confluence with a page, that contain plain links, link cards and embedded link cards; click Cancel in the "Opening external page" prompt once.
-
For fix 16, tick and untick locations quickly on both preference pages: each checkbox stays disabled until its save finishes, and after a reload the page shows the last state you set.
-
For fix 19, look at the documentation link of a step and of a parallel group in the definition editor, then at each page listed in fix 19; they look the same.
-
In Confluence, check fixes 11 and 13 (AI Prompt step panel with AI off, Charts settings text).
-
For fix 22, with the QA and PROD apps on one site, change Personal preferences in one and check the other's Preferences page and panel locations stay as they were.