Current JIRA integration is quite noisy in terms of email, and makes users hunt and peck for the related revisions.
Teach it to create an Issue Link on the JIRA side, and allow to disable commenting.
Differential D9858
JIRA Integration: Link and/or Comment turadg on Jul 9 2014, 6:42 PM. Authored by Tags Referenced Files
Tokens
Details
Current JIRA integration is quite noisy in terms of email, and makes users hunt and peck for the related revisions. Teach it to create an Issue Link on the JIRA side, and allow to disable commenting. comment on revision in each of the 4 settings, check JIRA end for expected result.
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes Comment Actions @epriestley what would you like to see in order to Accept this? It will help people using JIRA to adopt Phabricator Differential in their orgs. It has in mine. Comment Actions We're using this as a patch on our prod-phabricator, works perfect! please accept and land if possible. Comment Actions I wasn't aware of your implementation so I created my own with same purpose to have remote links: https://github.com/aik099/phabricator/commit/51d8d510d4113ddd89f6113afd03321b87f747f8
Comment Actions Here is how link looks in my implementation: I was trying to put link only on actual differential revision number, but it appeared too short to be usable. Comment Actions @epriestley can you please elaborate as to why this is classified as an unsupported patch as mentioned in T5422? Comment Actions @turadg can you please update this revision on top of master? I have already done so myself, I can Commandeer the revision and push my version if you'd like to. Comment Actions Thanks a lot @turadg. We are using this at Dailymotion and I promise I will keep it up to date (at least once a month). Please feel free to Commandeer it back if you'd like to make changes to it. Comment Actions
Comment Actions
Comment Actions
Comment Actions
From the api link: application.type is "name-spaced type of the application," and only used by custom renderers. I think I'll go with @aik099's com.phacility.phabricator and Phabricator (Unless the "phacility" namespace is not right here? Comment Actions The link shows "[Differential] [Request, 2 lines]", which is kind annoying, but I don't want to change the Asana integration, etc. right now. Comment Actions I think introducing a getObjectFullName() would be fine, but we can do that later. Couple of other inline suggestions but I didn't catch anything really substantive.
Comment Actions (This is incorrect.) I think the logic is correct -- the idea is that if the task is already linked at top level, we don't need to put a link in every comment (since it's redundant). If we didn't create a top-level relationship, we do (there's no way to get to the object otherwise).
Comment Actions PHIDs aren't guaranteed to be unique, but per the birthday paradox I think we expect one collision to exist globally once all installs produce a combined total of 1,125,000,000,000,000 revisions. We plan to kill JIRA before then. Base URIs aren't hugely stable so I'd guess that adding one probably reduces the stability of the identifier for no real benefit. Comment Actions The base URI can also be arbitrarily long but the JIRA field is limited to 255 characters. |