Custom Functions | Online Help | Zoho BugTracker

Custom Functions

A custom function is a piece of code that can be used for automating a process. You can write your own function in Deluge and call it from one or more business rules. It is similar to the built-in functions in Javascript like DATE, CONCAT, REPLACE, etc. In Zoho BugTracker, you can update the issue fields automatically using business rules. With the help of custom functions, you can automate a notification, call a webhook, or perform logic right after a business rule is triggered.

Benefits:

  • When a bug is escalated, user can be notified via an SMS, an email or a Zoho Chat using custom functions.
  • When a bug's severity is updated, a relevant comment can be added to the bug via a custom function.
  • Integration can be done with Zoho Apps and third party apps using a custom function.

Add a Custom Function

  1. Click in the top navigation bar.
  2. Navigate to Bug Tracker and click Custom Functions.
  3. Click New Custom Function.
  4. Enter a Function Name and a Description.
  5. Set the Arguments.
  6. Type in your code in the Deluge script editor or drag and drop the parameters available in the left panel of the editor and customize them.
  7. Click Save.
The manager wants to notify a set of users in the project about the change of bug owner for a specific bug upon escalation. The manager might have to send the notification very often to the same set of users on this subject in the future as well. The manager creates a custom function and get it called through one of the business rules.

 Associate a Custom Function With a Business Rule

  1. Click  in the top navigation bar.
  2. Navigate to Bug Tracker and click Business Rules.
  3. Select a rule and navigate to the Actions tab.
  4. In Actions, click Call Custom Function.
  5. Click the plus icon  to create a new custom function or click the chain icon  to call an existing function from the business rule.
  6. Click Save Rule.

Execute a Custom Function

  1. Click  in the top navigation bar.
  2. Navigate to Issue Tracker > Custom Functions.
  3. Click the function that you would like to execute. Here, Helen tries to execute the function "Send_Mail".
  4. Click Save and Execute at the bottom.
  5. Enter the Issue ID (i.e, the argument).
  6. Click Execute.

Test Custom Function Integration

  1. Add test data in Zoho BugTracker that match your business rule criteria.
  2. Check for updates received from Zoho BugTracker in your application via a notification triggered through your custom function.
  3. If there is an error, modify your custom function in Zoho BugTracker and retest.
  4. Continue testing until you get the correct output.



    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                    Manage your brands on social media

                                      Zoho Desk Resources

                                      • Desk Community Learning Series


                                      • Digest


                                      • Functions


                                      • Meetups


                                      • Kbase


                                      • Resources


                                      • Glossary


                                      • Desk Marketplace


                                      • MVP Corner


                                      • Word of the Day


                                        Zoho Marketing Automation

                                          Zoho Sheet Resources

                                           

                                              Zoho Forms Resources


                                                Secure your business
                                                communication with Zoho Mail


                                                Mail on the move with
                                                Zoho Mail mobile application

                                                  Stay on top of your schedule
                                                  at all times


                                                  Carry your calendar with you
                                                  Anytime, anywhere




                                                        Zoho Sign Resources

                                                          Sign, Paperless!

                                                          Sign and send business documents on the go!

                                                          Get Started Now




                                                                  Zoho TeamInbox Resources



                                                                          Zoho DataPrep Resources



                                                                            Zoho DataPrep Demo

                                                                            Get a personalized demo or POC

                                                                            REGISTER NOW


                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now







                                                                                            You are currently viewing the help articles of Sprints 1.0. If you are a user of 2.0, please refer here.

                                                                                            You are currently viewing the help articles of Sprints 2.0. If you are a user of 1.0, please refer here.



                                                                                                  • Related Articles

                                                                                                  • Triggers, Events, and Functions

                                                                                                    Triggers are used to respond to an event. Create triggers to associate Functions with Events. Let's say you want to trigger an email when a bug is created. You can create a send mail function. Next, create a trigger and associate the send mail ...
                                                                                                  • Bug Custom Views

                                                                                                    Custom views display bugs that match specific criteria defined by you. A custom view can be set for your own use, for all users, or for a specific set of users. Benefits View bugs that are most relevant Use multiple criteria to create custom views ...
                                                                                                  • Bug Custom Views - 7.0

                                                                                                    Custom views display bugs that match specific criteria defined by you. A custom view can set for your own use, for all users, or for a specific set of users. Benefits View bugs that are most relevant Use multiple criteria to create custom views ...
                                                                                                  • Project Custom View - 7.0

                                                                                                    In addition to the predefined views, users now create their own custom views for projects. Users can customize projects list view based on specific criteria by applying filters. These custom views can be marked favorite by clicking the icon. Feature ...
                                                                                                  • Project Custom View

                                                                                                    In addition to the predefined views, users can now create their own custom views for projects. Users can customize projects list view based on specific criteria by applying filters. These custom views can be marked favorite by clicking the icon. ...
                                                                                                    Wherever you are is as good as
                                                                                                    your workplace

                                                                                                      Resources

                                                                                                      Videos

                                                                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                      eBooks

                                                                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                      Webinars

                                                                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                      CRM Tips

                                                                                                      Make the most of Zoho CRM with these useful tips.



                                                                                                        Zoho Show Resources