Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
Description
phpBB's post editor has a tag pair [bug][/bug] for making a link to a Bugzilla bug using its bug#. However, the ReactOS project has replaced Bugzilla with JIRA. The existing [bug][/bug] tag pair can be repurposed to make a link to a JIRA issue if the change will not affect existing posts created with the old form of the tag pair. If that is not possible, a new tag pair [bugj][/bugj] is proposed for making a link to a JIRA issue (bug) using its JIRA key.
3.4.1 of the phpBB online documentation describes how to customize tag pairs. See: https://www.phpbb.com/support/documentation/3.0/adminguide/acp_posting.php#acp_posting_bbcodes
As I understand the phpBB documentation, this feature is reached from the Administration Control Panel > Posting [tab] > BBCodes (Add a new BBCode). Following are suggested inputs for phpBB's Add A New BBCode feature that will add the proposed [bugj][/bugj] tag pair.
BBCode Usage
[bugj]
{TEXT}[/bugj]HTML Replacement
<href="https://jira.reactos.org/browse/{TEXT}
">
{TEXT}</a>
Display on Posting
(checked)
Helpline message
use [bugj]Key[/bugj] to link to JIRA Bugtracker
Usage Example: The user types [bugj]CORE-5696[\bugj] in the phpBB post editor
to produce the text CORE-5696 as a hyperlink to the JIRA issue with the key CORE-5696.
NOTE: Any Forum user can follow the link created by phpBB to the indicated JIRA issue but cannot make changes in JIRA until the user logs in to JIRA with valid Username/Password credentials.