Best answer

Using Zaps to take a triggered even and make it parse to Phabricator for a new task

  • 30 October 2020
  • 1 reply

This seems very niche but I have a working system that I would like to simply add to.

Currently, I've a command in a game I've written call a simple Zapier hurl. Lets says, "

When called it posts the name, location, and message to a discord channel. I would like this extended.

What I would, ideally, need is to figure out how Zapier could create a new task in Phabricator manifest titled a unique name of some kind with the context including name, location, and message, and put it on a projects workboard under a specific category and assign users to it.

I feel like this is possible but cannot figure out the proper syntax.

It really is a shame there is no Phabricator integration currently, as it is pretty popular.


Best answer by nicksimard 4 November 2020, 00:35

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +11

Hi @Josh1207!

I see that you also posted on Stack Overflow then added your own solution. I’m going to add that here, to help anyone else who might come across this thread :)

For those seeking similar, I found a way that worked for me :

  1. I used to help me with Phabricator's interesting requirements.
  2. I went in to conduit / maniphest.edit and used this JSON in the first field to get my desired curl output :
    [{"type":"title", "value":"test title"},{"type":"description", "value":"This is the description."},{"type":"projects.set", "value":["PHID-PROJ-4dufje6oug3liomahstg"]}]
  3. I took the curl it gave me and put it in here : to turn it in to python.
  4. I put the python in to the Zapier python module, replacing text in several places with the variables that Zapier provides.