Handle long descriptions in Jira plugin
complete
I
Indigo Wolverine
In our pipeline, the Jira plugin errors out when the 'description' field exceeds 255 characters. This is problematic as our commit messages can be quite long. It would be beneficial if the plugin could either truncate or ignore descriptions that exceed the character limit, rather than erroring out.
Log In
N
Nofar Bluestein
complete
N
Nofar Bluestein
Hey,
The issue has been resolved by truncating the commit message (DRONE_COMMIT_MESSAGE) in the deployment payload if it exceeds the 255-character limit, which was causing the warning. The step now completes successfully without exceeding Jira’s description limit.
Regards,
Nofar Bluestein
CI team.