How to copy a "Create issue" action under Jira spoke in flow designer in the Integration Hub?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 08:08 AM - edited 12-18-2023 08:18 AM
Hi ServiceNow Community Developers,
In flow designer in the Jira spoke I am trying to copy a Create issue action so that I can customize it for my requirements however when I do so I get the following error: "Bad Request. Maxlength exceeded in (2) Pre Processing for field: api_version". I have also attached the error in the screenshot. This is an out of the box Copy option that should work as expected however it is not doing so for me.
Would you please take a look and kindly advise.
Thanks,
Johannes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 11:59 PM
Hi Johannes,
Did you find a solution for this? Currently facing the same error when trying to copy this action. Also regardless of this error, when trying to use the action it returns an error "Error: You cannot create issues in this project.,You are not authorized to perform this operation. Please log in."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2025 06:05 AM
Hello @Johannes Mweli , you can create a copied action, and when you see the error 'Bad Request. Maxlength exceeded in Pre Processing for field: api_version', just go to the list of actions, your action will be created. I tested the copy action functionality, and the copied action was creating issues in Jira.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @Johannes Mweli, I'm the community manager at Exalate.
That error usually happens because the api_version field in the copied action is exceeding its allowed length. When you copy a Flow Designer action, all values including hidden fields are cloned, so if api_version is too long, it fails validation.
Try:
Editing the copied action and shortening/clearing api_version.
Creating a new custom action from scratch if copying keeps failing.
Updating your Jira spoke—later versions fixed some validation issues.
If it still fails, ServiceNow support should investigate, since OOTB copy shouldn’t throw that error.