I’ve got a workflow that triggers off of Jira events with the ticket data.
I want to update a custom field inside the ticket with a value, when I attempt to do this I get a 400 error with a webpage response together with the 400.
Steps to reproduce:
- Workflow trigger: Jira - All Events
- Filter - If the webhook type is a “jira:event_created”, proceed
- Jira - Update Issue - Find issue using “Key” from inbound event
- Immediate fail without any other fields being added. Failure reason:
*Error - Request failed with status code 400*
"\n\n\n\n\n\n\n\n\n\n<html>\n\n<head>\n <title>Bad Request (400)</title>\n \n\n\n\n\n\n\n<script type="text/javascript" >\n var contextPath = '';\n var DeferScripts = { deferState: 'disabled' };\n</script>\n<script>\nwindow.WRM=window.WRM||{};window.WRM._unparsedData=window.WRM._unparsedData||{};window.WRM._unparsedErrors=window.WRM._unparsedErrors||{};\nWRM._unparsedData["com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path.context-path"]="\"\"";\nWRM._unparsedData["com.atlassian.plugins.atlassian-plugins-webresource-rest:curl.cross-origin-resources"]="false";\nWRM._unparsedData["jira.webresources:feature-flags.feature-flag-data"]="{\"enabled-feature-keys\":[\"com.atlassian.jira.projects.issuenavigator\",\"connect.no-applinks\",\"nps.survey.inline.dialog\",\"atlassian.aui.raphael.disabled\",\"com.atlassian.jira.projects.ProjectCentricNavigation.Switch\"],\"feature-flag-states\":{\"com.atlassian.jira.plugins.mail.internal\":false,\"com.atlassian.jira.feature.flag.for.TestFeatureFlagResource\":false,\"jira.feature.rest.single.step.avatar.upload\":true,\"jira.ondemand.maintain.trusted.apps\":true}}";\nWRM._unparsedData["com.atlassian.jira.jira-client-
When I look at the data that it natively picks up that I can select, it seems to only show Features and not Tasks (which is what I’m trying to update).
Any ideas on how to solve this?
Thanks in advance.
Nick