w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
phabricator get commit author from feed story for stories that are concerns , comments and audits

The story object should have a data element that will include information about the Author and committer. Like so:

"PHID-STRY-spjfpdv4wuigblmh3ygb" : {
    "class"            : "PhabricatorFeedStoryCommit",
    "epoch"            : 1409840112,
    "authorPHID"       : "PHID-USER-tcyihgi43sw6o7yrnhu5",
    "chronologicalKey" : "6055220066741547443",
    "data"             : {
      "commitPHID"    : "PHID-CMIT-ievqiimtsnlfhlk5imqq",
      "summary"       : "[blah]",
      "authorName"    : "Author Name <author_email@example.com>",
      "authorPHID"    : "PHID-USER-tcyihgi43sw6o7yrnhu5",
      "committerName" : "Commiter Name <commiter_email@example.com>",
      "committerPHID" : "PHID-USER-tcyihgi43sw6o7yrnhu5"
    }
}

If not, it should have an objectPHID:

"PHID-STRY-mqlkjzwkbr3th4h5n2eg" : {
    "class"            : "PhabricatorApplicationTransactionFeedStory",
    "epoch"            : 1409841382,
    "authorPHID"       : "PHID-USER-2bubef6xonwicvaool4w",
    "chronologicalKey" : "6055222630292077307",
    "data"             : {
        "objectPHID"       : "PHID-CMIT-is7pmo5nyvv4eruq2msn",
        "transactionPHIDs" : [
            "PHID-XACT-CMIT-svvkzf7dfplzdxp"
        ]
    }
}

You can query from there using conduit calls.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.