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
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.