how to apply jqlFilter for all projects

sweety papana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2024

i am trying to create a webhook . 
my webhook data is like this

 

 const webhookData = {
      name: "My Webhook",
      url: webhookURL,
      webhooks: [
        {
          events: ["jira:issue_created", "jira:issue_updated"],
          fieldIdsFilter: ["summary"], // Broad query for all issues in all projects,
            jqlFilter:projectId
        },
      ],
      excludeIssueDetails: false,
    };, 
but i want to create webhook for all the projects . how to do it . 
i have heard that if not giving jqlFilter field , it is applied to all the projects , but i am getting error for that like 

 

 "Empty JQL search not supported".
please help

1 answer

0 votes
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2024

hi @sweety papana 

 

If you need use JQL just use "created <= now()" or something similar to get all issues without giving projects.

 

Regards,

Seba

sweety papana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2024

jqlFilter: "project != null"

this is working for me . is it correct ?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events