DescriptionThe function jiraMarkup currently only automatically creates links if the project key is the same as in the current issue (i.e a reference to an issue in the same project has been typed).
It was implemented this way to prevent broken links if another project (with references in other issues) was archived.
So, linking to EXAMPLE-1 from within EXAMPLE-2 will generate an auto-link, whilst linking to EXAMPLE-1 from ELPMAXE-3 will not.
When the client filtering headers are present, we have a better idea of which projects are likely to exist (no guarantee they do, though) and so could enable autolinking to issues with those project keys.
An alternative solution would be to do what JIRA does - identify any string that looks like an issue key, check the database to see if it exists and then convert to a link if it does. Seems inefficient though.
Activity
2014-11-04 07:10:51
2014-11-12 01:07:01
2014-11-12 01:34:54
It'd be good to devise a way to enable cross-project auto linking if no filters are present, perhaps by detecting that that's the case and then populating the header accordingly.
2014-11-12 01:35:26
Webhook User-Agent
View Commit
2014-11-13 02:47:02
2014-11-13 02:47:30
2014-11-13 02:47:30
2014-11-13 02:47:47
2014-11-13 02:59:26
Webhook User-Agent
View Commit
2016-04-29 14:54:00
2016-04-29 14:54:00
2016-04-29 14:54:00
2016-04-29 14:55:24
2016-04-29 14:55:24
2016-04-29 14:55:24
2016-04-29 15:00:46
2016-04-29 15:00:46
2016-04-29 15:00:46
2016-04-29 15:00:49