The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Sebastian Krzewiński
Community Champion
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 ?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events