Page MenuHomePhorge

Make maniphest.gettasktransactions include metadata and title
ClosedPublic

Authored by aklapper on Aug 14 2024, 13:18.
Tags
None
Referenced Files
F3336079: D25777.1743569203.diff
Tue, Apr 1, 04:46
F3330538: D25777.1743490760.diff
Mon, Mar 31, 06:59
F3311287: D25777.1743203308.diff
Thu, Mar 27, 23:08
F3293827: D25777.1742924439.diff
Mon, Mar 24, 17:40
F3292980: D25777.1742903218.diff
Mon, Mar 24, 11:46
F3292320: D25777.1742891798.diff
Mon, Mar 24, 08:36
F3288367: D25777.1742827087.diff
Sun, Mar 23, 14:38
F3254883: D25777.1742488004.diff
Wed, Mar 19, 16:26

Details

Summary

Include task title and metadata in Conduit's maniphest.gettasktransactions output.
This data can for example be used by IRC bots to improve their output (e.g. conditions which changes [not] to emit or text coloring based on metadata).

Upstreaming from https://phabricator.wikimedia.org/rPHABf2fd14dc1edeb41aa2874336548cfaa7fa0e87a0

NOTE: this specific API is in "frozen" status. This method is frozen and will eventually be deprecated. New code should use "transaction.search" instead.

Closes T15916

Test Plan

Call maniphest.gettasktransactions on a task, see two additional fields.

Diff Detail

Repository
rP Phorge
Branch
conduitManiphestGetTaskTransactions
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1527
Build 1527: arc lint + arc unit

Event Timeline

Wikimedia Foundation has this in production since years. I think it doesn't hurt.

I hope this attracts interest in the related task.

In any case, consider sharing a comment about this:

T15916#18996

This revision is now accepted and ready to land.Nov 12 2024, 15:11