ServiceNow integration failing: ""Invalid event name 'option_attachments_changed'."

jithin jose February 27, 2024

We are using Atlassian Plugin for Agile Development to connect ServiceNow Agile with Jira. From past few days we are not able to Initiate any connections from ServiceNow to Jira. This issue is being observed from past few days. When Clicked on Connect Button(Auto Creates a webhook in Jira), we get an error message saying "Invalid Payload (400)". Upon investigation we saw that the Error message is as below: 

{
    "messages": [
        {
            "key""Invalid event name 'option_attachments_changed'."
        }
    ]
}
The payload that is sent to Jira is auto generated by the plugin. and payload will look like below (The bolded event is causing the issue):
    {
        "name""Jithin testing",
        "url""https://www.example.com",
        "description""Sample",
        "excludeBody"false,
        "filters": {
            "issue-related-events-section"""
        },
        "events": [
            "project_created",
            "board_deleted",
            "comment_updated",
            "board_created",
            "project_deleted",
            "project_updated",
            "sprint_created",
            "jira:issue_updated",
            "sprint_closed",
            "sprint_updated",
            "comment_created",
            "sprint_started",
            "option_attachments_changed",
            "jira:issue_created",
            "jira:issue_deleted",
            "sprint_deleted",
            "board_updated"
        ],
        "enabled"true
    }
Anyone else facing similar issue; Any work arounds ?
Note: if you have an existing connection, it will work perfectly. If you try to reconnect after disconnecting you will see the issue

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 28, 2024

Hi @jithin jose 

Welcome to the community

If you are using an app, and the app compatibility is not correct, reach out to the vendor via their support.

Which app are you using, is it from Atlassian or another vendor and what is the name?

 

jithin jose February 28, 2024

Hello @Marc - Devoteam 
I am suing Atlassian Agile Spoke for ServiceNow integration. This payload is created by the Spoke (the spoke I assume to be an Atlassian owned component). Jira was supporting this till last week, but currently we are getting this error.  
Generally its not recommended to modify the code inside a spoke.

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 28, 2024

Hi @jithin jose 

No this is not developed by Atlassian, but by ServiceNow.

So you would need to raise your issues there any developer that has made an integration needs to keep their integration up to par, related to changes that Atlassian makes on their products

Vishnu
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!
February 29, 2024

Hello @jithin jose ,
I'm also facing same issue with Atlassian Agile Spoke while trying to connect with Jira site. Are you able to find any solution for this!?

Thanks,
Vishnu

jithin jose February 29, 2024

@Vishnu 

ServiceNow might take some time to fix the spoke. While they are fixing the spoke, you can open the "connector" script and remove the event.

Vishnu
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!
February 29, 2024

Thank you, @jithin jose
For time being that's what I did, removed that event from "Connector" script. Just wanted to check that if you're aware of any solution from Atlassian or ServiceNow for accepting "option_attachments_changed" event.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events