Below is the error on using the “XXX” with customfield_10855.
===========
Creating BL : I&V Feature Test Setup Readiness - Uplink Min Rx Access
Status : FAIL : Warning: user is not an administrator. Custom fields names are not available for use or validation. Use custom field ids!
Remote error: com.atlassian.jira.rpc.exception.RemoteValidationException: {customfield_10855=Version with id '1404_2' does not exist.} : []
Fix version: Release
RG40
===========
Syntax used in the script:
jira_cmd_suffix=' --action createIssue --project "'+project+'" --type "'+issue_type+'" --summary "'+summary+'" --assignee "'+assignee+'" --reporter "'+reporter+'" --fixVersions "'+fix_versions+'" --affectsVersions "'+affects_versions+'" --components "'+components+'" --custom customfield_11383:"'+ran_no+'",customfield_10855:"'+XXX+'",customfield_14790:"'+a360_id+'",customfield_11890:"'+sp+'"'
jira_cmd=jira_cmd_prefix + jira_cmd_suffix