RTL Autofix for Jira (Arabic, Hebrew, Persian) — User guide
What it does
Jira Cloud shows every field left to right. When a sentence in Arabic, Hebrew or Persian contains English words, numbers or product names, Jira shows the words in the wrong order.
RTL Autofix corrects this in place, in the work item's summary and description. After someone saves a work item, the app adds two invisible Unicode direction characters (U+202B and U+202C) around each right-to-left line. The visible text does not change. Because the fix is stored in the text itself, it shows everywhere Jira shows that text: the work item view, the list, the board and search results.
People keep working exactly as before: no new field, no panel, no button.
How it works
- When a work item is created, the app checks its summary and description.
- When a work item is edited, the app checks only the field that was edited (summary, description, or both).
- The app waits until the summary or description has stayed unchanged for 5 seconds, then corrects it. If someone saves again within that time, it waits again, so only the newest version is corrected.
- Each line is checked on its own (each paragraph, heading, list item, table cell, and each line after Shift+Enter). A line is treated as right-to-left when its first letter is Arabic, Hebrew, Persian or another right-to-left script. Names in mentions, emoji, dates and inline code do not count.
- If later edits move or break the invisible characters (for example, typing at the end of a corrected line, splitting or merging paragraphs, or turning an Arabic line into English), the app tidies them up on the next save.
- Code blocks and inline code are never changed.
- Lines where someone inserted their own direction characters on purpose (isolates or overrides) are left alone.
- Watchers are not emailed about the app's correction. The item history shows the change as made by the app.
Installing
A Jira administrator installs the app from the Atlassian Marketplace. There is nothing to configure: it starts working on the next save.
Atlassian's install page lists the permissions the app asks for:
- View Jira issue data: "Read Jira project and issue data, search for issues, and objects associated with issues like attachments and worklogs."
- Create and update issues: "Create and update issues."
- App Storage scope: "Read and write to app storage service."
The app uses them only to read the summary and description of the work item that was just saved, check that the person who saved it was allowed to (see "Limits"), save the corrected summary and description, and keep its own settings and counters. It never creates or deletes work items, and it never reads or writes comments, attachments or worklogs.
Settings page (Jira administrators)
Jira settings → Apps → RTL Autofix (also via Configure on the app in Atlassian Administration):
- RTL Autofix is on/off: turns all corrections off. Text that was already corrected stays as it is. While the app is off, nothing is counted.
- Correct these fields: summary, description.
- Save applies the changes.
- Activity since <date>: how many work items were corrected, and how many corrections were skipped and why (for example "Couldn't schedule the correction" when Atlassian's queue failed repeatedly; the text is then left as it was saved). These counts are approximate (two saves at the same instant can be counted once). Reset counts starts a new period.
- Possible overwrite detected: how often someone saved a field in the short moment while the app was saving its correction, so the app's save may have replaced theirs (see "Limits"). The app log has the work item key for each case; check that item's history and restore the text if needed.
- If corrections are skipped because the app could not confirm a person's permission, the page shows a warning; see "Limits" below for the usual reasons (automation, email, deactivated accounts).
The app supports Arabic, Hebrew, Persian and Urdu (and other right-to-left scripts).
Limits of the first version
Please read these before you rely on the app.
- Comments are not corrected yet. Only the summary and description.
- Existing work items are not corrected until they are edited. Items created before the app was installed keep their current text until someone saves a change to the summary or description.
- Text is corrected within about 10 seconds of the last save, not instantly. The app first waits for 5 seconds without changes. In our tests, corrections landed 7 to 13 seconds after saving (usually about 8). Occasionally Jira delivers a save to the app later, up to about 3 minutes. Until then the text shows in the old order.
- Notification emails show the text before the correction. Jira sends its usual email for a person's own edit, and that email contains the text as they saved it, before the app corrected it. Words may appear on the wrong side of the line in that email. The app cannot change what Jira puts in its emails.
- Text is only corrected when the app can confirm the person had permission. Before writing, the app checks that the person who created or edited the work item had permission to do so (create for a new item, edit for a change). If the app cannot confirm this, it does nothing. As a result, these are not corrected:
- work items created or edited by automation rules;
- work items created or edited by email;
- work items created or edited by anyone the app cannot check, for example deactivated accounts;
- possibly requests raised by Jira Service Management portal customers. This has not been tested yet.
- After someone changes their Atlassian password, their edits may not be corrected for a while. This is a known Atlassian issue (ECO-1467): for some time after a password change, Jira refuses the app's permission check for that person, so the app does nothing with their edits. We saw it last about 30 to 50 minutes in one test. Atlassian gives no figure, so it can be longer or shorter. Administrators see these skipped edits on the settings page under "Couldn't check the person". Text saved during that time stays in the old order until someone edits that field again after the check works again; that edit is then corrected as usual. (The same happens if the account email change asks for a new password.)
- A small remaining chance of overwriting a save. Jira offers no way to save "only if nobody changed it since". The app therefore waits until the text has been unchanged for 5 seconds and checks again just before saving. Quick repeated saves are safe: in our tests, saves 1 to 12 seconds apart lost nothing. What remains is the moment, about one second long, while the app is saving its correction, roughly 7 to 10 seconds after the previous save. If someone saves the same field exactly then, the app's correction can replace their newer text. The app checks the item's history right after saving. When this happens it logs the work item key and counts it on the settings page under Possible overwrite detected, so you can restore the text from the item's history.
- Mentions may show the @ on the other side. In a corrected right-to-left line, Jira sometimes displays a mention as "Name@" instead of "@Name". This is how Jira draws the mention inside right-to-left text; it is cosmetic, and the mention still works normally.
- Text alignment stays left. Apps cannot change how Jira lays out its pages; the word order is corrected, the alignment is not.
- Very long summaries. A right-to-left summary longer than 253 characters is not corrected, because Jira's 255-character limit leaves no room for the two invisible characters.
- Very long descriptions. Jira limits a description to about 32,000 characters. The correction adds two invisible characters to every right-to-left line, so a description close to that limit may no longer fit once corrected. Jira then refuses the change, and the description is left exactly as it was saved, uncorrected. Nothing is lost. These show on the settings page under "Jira returned an error". In our test, a description of about 32,000 characters with 320 right-to-left lines was not corrected.
- Custom fields are not corrected.
If text was replaced
Rarely, someone saves a summary or description in the very moment the app is saving its correction of the same field (see "A small remaining chance of overwriting a save" under Limits). The app's correction can then replace that person's newer text.
How you see it. The app checks the work item's history right after every correction. When it finds such a case, the settings page (Jira settings → Apps → RTL Autofix) shows it under Possible overwrite detected: the count, and a list of the 20 most recent cases with the work item key, the field (Summary or Description) and the time. The list holds no text and no names. "Reset counts" clears it.
How to restore the text.
- Open the work item from the list (search for its key in Jira).
- In Activity, choose History.
- Find the change to that field made just before the RTL Autofix change at the time shown. It holds the person's text as they saved it.
- Copy the missing part from that history entry into the field, and save. The app corrects the word order again about 10 seconds later.
Jira's history shows the text without formatting. If the lost part had formatting (bold, lists, links), add it again by hand.
If you remove the app
Text that was already corrected keeps its invisible characters. They are harmless: search, copy and editing keep working, and the text simply stays in the corrected order.
Privacy
The app reads and re-saves only the summary and description of the work item that was just saved. It stores no work item content, sends nothing outside Atlassian, and logs only item keys, field names and status codes. See the privacy and data-handling statement for details: https://bytetrellis.com/rtl-autofix/privacy
Support
Email support@bytetrellis.com. Support hours, response times and what to include in a report: https://bytetrellis.com/rtl-autofix/support
This guide is at https://bytetrellis.com/rtl-autofix/user-guide and the privacy statement at https://bytetrellis.com/rtl-autofix/privacy.