What is the valid DevOps category of an automation for jira trigger?

Irina Svirkina October 8, 2021

automation-thirdparty-sample contains an example of a trigger. One comment in project-created-trigger.js says

/**
* Valid categories are: 'ISSUE_ACTIONS','SERVICE_DESK_ACTION','ISSUE_TRIGGERS','NOTIFICATIONS','SCHEDULED','INTEGRATIONS'
* This is used for the search dropdown in the select action ui.
*/
categories: [],

We would like to see our trigger among DevOps triggers during an automation rule creation. Unfortunately none of the values relates to DevOps drop-down option.

Question 1: Which one relates to DevOps?

Question 2: OR - probably better - can we create a new trigger category "My Category"?

Results of my experiments:

  • When I set categories: ['SCHEDULED','INTEGRATIONS'] then our trigger is displayed when  'Scheduled' or 'Integrations' is chosen.
  • But when I set categories: ['ISSUE_ACTIONS','SERVICE_DESK_ACTION','ISSUE_TRIGGERS','NOTIFICATIONS','SCHEDULED','INTEGRATIONS'] then our trigger is not displayed as 'DevOps' trigger.

 

 

1 answer

0 votes
Irina Svirkina October 11, 2021

@Daniel Ramotowski , I believe it's a piece of cake for you. Could you please advise the right category enum?

Daniel Ramotowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 14, 2021

@Irina Svirkina , please try 'DEV_TRIGGERS' category

Like # people like this
Irina Svirkina October 14, 2021

Thank you. It helped.

Like Daniel Ramotowski likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events