I try to use project property in atlassian-connect.json file but it's not working
it ignore the filter and trigger for all issueTypes.
Here is my code:
"webhooks": [ { "event": "jira:issue_created", "filter": "issueType = project.property[config].issueType", "url": "requirements/issue-hook", "excludeBody": false } ], "jiraEntityProperties": [{ "key": "jira-project-indexing", "name": { "value" :"project index", "i18n": "project.index" }, "entityType": "project", "keyConfigurations": [{ "propertyKey" : "config", "extractions" : [{ "objectName" : "issueType", "type" : "string" }] }] }],
When I did this rest call: /rest/api/3/{{projectId}}/properties/config
I get the following json> {
"key": "config", "value": { "issueType": "Task"}
}
However the event is triggered for each issueType and not only for Task
If I did it directly such as :
“filter”: “issueType =Task”
,
it works well - triggered only for issue of type Task.
any idea?
Thanks
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.