Page MenuHomePhabricator

Support "JIRA Issue URIs" as a Herald field for revisions
ClosedPublic

Authored by epriestley on Wed, Apr 10, 4:14 PM.

Details

Summary

See PHI1175. An install would like to trigger some reminders/guidance if users don't link revisions to JIRA issues.

Expose "JIRA Issue URIs" as a field so Herald can act on the presence or absence of issues.

I'm exposing "JIRA Issue URIs", not a field like "[ Has Jira Issue ][ is true ]", since it's a bit more flexible: you can use a regexp to test against particular PROJ-123 project prefixes in JIRA, for example.

Test Plan

Diff Detail

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Wed, Apr 10, 4:14 PM
epriestley requested review of this revision.Wed, Apr 10, 4:15 PM
amckinley accepted this revision.Wed, Apr 10, 5:32 PM
This revision is now accepted and ready to land.Wed, Apr 10, 5:32 PM
epriestley added inline comments.Wed, Apr 10, 5:32 PM
src/applications/differential/herald/DifferentialRevisionJIRAIssueURIsHeraldField.php
28

(This edge is kind of named backwards, but this is the correct half of it to query for.)

This revision was automatically updated to reflect the committed changes.