Page MenuHomePhabricator

JIRA links sorted by count of lines
Closed, ResolvedPublic

Description

the JIRA link takes its text from [[https://secure.phabricator.com/diffusion/P/browse/master/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php$59 | getObjectTitle()]], which adds "[Differential] [Request, 197 lines]" to the link.
JIRA sorts the links alphabetically, which in this case makes a funny order.

AFAII, the same getObjectTitle() is used for Asana as well.
Can we remove the prefix? Or rename the current getObjectTitle() to getConversationTitle() and add getObjectTitle() which would do <monogram> <title> ?

Event Timeline

You can remove the prefix with metamta.differential.subject-prefix, and remove the action with metamta.vary-subjects, but both of these will also affect mail.

It makes more sense to use the mail message title in Asana, as the integration is essentially replacing mail. It makes less sense to use it in JIRA, and the object's handle's full name is probably the right string to use. I think it's probably OK to just use that universally.

in Asana, does the title updates the ticket's title?

As I recall, yes. But the only install I'm aware of that uses it (Asana itself) also disables the mail prefix, and might disable subject variance, although I'm not sure.