HelloI am using rest api to register for webhooks using the request bodyWhat should I write in the jqlFilter to register for ALL projects?POST https://api.atlassian.com/ex/jira/<cloud ID>/rest/api/3/webhook
Hello Moti
In JIRA, when you're constructing search queries, specifying the project is optional. If you don't explicitly mention a project, JIRA will search across all projects by default.
Example Scenarios:
Search Within a Specific Project:
Query: project = XYZ and issuetype = Bug
This query will filter and display all issues of type "Bug" within the "XYZ" project. Use this when you want to focus on a specific project.
Search Across All Projects:
Query: issuetype = Bug
This query will look for all issues of type "Bug" across your entire JIRA instance, regardless of the project. This is useful when you're interested in a particular issue type across your organization.
By tailoring your search queries, you can efficiently locate the information you need, whether it's focused on a single project or spans multiple projects.Thanks for post in our community
Hi LigiaThankss for your answer, this i am familiar already, Maybe I wasn't clear enough in my question so i'll try to explain and maybe expand it a bit. according to jira docs the jqlFilter is mandatory, i need to register dynamic webhook that will fit all issues (new/updated/existing) in all project with no other terms, if it issue and the event is occur i want a webhook to be send on it1. what should be the jqlFilter to get "ALL ISSUES" existing and those will be created in future?2. does the jqlFilter support regex? like jqlFilter: project = * or project: issue = *3. in case registering to all projects/issues, in manner of security, does webhook will be send on project/issue that the webhook creator has no access to?for example:Customer has prog1, proj2 and proj3 projects in its jira A user that have access to only proj1 and proj2 dynamically register a webhook to all projects with event: "jira:issue_updated"does it get webhooks on issues from proj3?Thanks
Hello MotiThank you for your questionsAllow me to answer it:
1. what should be the jqlFilter to get "ALL ISSUES" existing and those will be created in future?
An empty JQL.Imagine that Jira default JQL is select *.Everything you added after it, is filtering like it is inside the where
2. does the jqlFilter support regex? like jqlFilter: project = * or project: issue = *JQL filter doesn't support regex.
3. in case registering to all projects/issues, in manner of security, does webhook will be send on project/issue that the webhook creator has no access to?for example:Customer has prog1, proj2 and proj3 projects in its jira A user that have access to only proj1 and proj2 dynamically register a webhook to all projects with event: "jira:issue_updated"does it get webhooks on issues from proj3?Webhook will only return issues that you have access based on the user that triggers the event Hope that clarifies your questions
Hey Again Thanks for detailed answerRegarding answer 2:when using rest api to dynamically register for webhooks the doc mention that the jql is mandatory so did you mean to write it as:jqlFilter: "" Thanks
It looks like you're new here. Sign in or register to get started.