When we create a new developer on the API platform and the new developer requires a manual approval from an administrator. I can see that the platform provides email notification but is it possible to automatically create a Jira ticket every time a new user is created and it requires approval?
So we are looking for a flow:
New App Developer (Requires manual approval) -> Email Notification & Automatically creates Jira task for the admin to complete approval
Solved! Go to Solution.
I think the best way to do this would be via the Drupal Rules module.
Drupal, as you know, is a fully-featured CMS, and it's got many community-contributed modules. One of the modules is the Rules module, which is included with the standard Apigee Edge devportal installation, but not "enabled."
The Rules module allows a devportal administrator to configure events within the devportal to trigger actions. In this case, creation of a new developer account can trigger a webhook or API call , out to a Jira system to create a ticket.
To enable Rules,
For more on the Rules module, search and read the Drupal documentation on it.
I think the best way to do this would be via the Drupal Rules module.
Drupal, as you know, is a fully-featured CMS, and it's got many community-contributed modules. One of the modules is the Rules module, which is included with the standard Apigee Edge devportal installation, but not "enabled."
The Rules module allows a devportal administrator to configure events within the devportal to trigger actions. In this case, creation of a new developer account can trigger a webhook or API call , out to a Jira system to create a ticket.
To enable Rules,
For more on the Rules module, search and read the Drupal documentation on it.
Hey Dino,
Thanks for providing the update. We have a further requirement to put certain products to manual approvals and when a developer creates a developer app and attaches the developer app with the product, we need to get an approval before giving him access with the generated keys. The requirement is the same to generate an JIRA ticket for an admin to approve the transaction.
I am having difficulty picking the Event type for this cutom Rule. Could you point me towards the right event type for the above scenario?
You need to use Jira Rest Rules module along with Rules module. Rules module & Rules UI modules are available out of the box with Apigee Developer Portal. You need to enable the modules from "admin/modules" page.
Jira Rest Rules & Jira Rest modules you need to download from drupal.org & place them in "sites/all/modules/contrib" folder to enable them from "admin/modules" page.
Regarding Rule trigger event , You need to use "Upon Creation of developer app"
Hey Anil,
Can you please further direct me on how do I get to sites/all/modules/contrib folder. I don't seem to find a way to it. I think I need to FTP to company's devportal page at apigee server, I am trying it but that doesnt seem to get me access.
Hey @TariqGhalib I will add it for you.
Great Thanks
@TariqGhalib , You can find more about pantheon dashboard where we host our cloud developer portals here. Keep us posted.
Hey @TariqGhalib I have installed the modules and enabled them. You should see them appear in the "rules" options.
Tariq, does this article help?