Link issue through Custom Field fails sometimes due to spacing

Santhosh Raj
Contributor
November 5, 2024

We have created an Jira Automation for linking all the Child to the parent once they update there Parent Key in the Custom Field, but it is getting failed and not getting linked due to a Small Spacing in the Field
For Example TEST-123  Now it shows space after 123 right and the Automation is considering the Spaces and fails the Automation. 

Is there any way we can improvise it usingScreenshot 2024-11-05 171925.png

 

Any ways for avoiding that case sensitive field

2 answers

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.
November 5, 2024

Hi @Santhosh Raj 

You could try to add the trim() option

{{issue.customfield_10480.trim()}}

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 5, 2024

Hi @Santhosh Raj , I am confused where this "spacing" is exactly. Can you share the results of your audit log that indicates a failure?

Suggest an answer

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

Atlassian Community Events