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
It looks to me like the custom field is a *Version* type field and you've given it an invalid version ID. Check that field 10855 is of the right type first, and then what the available content is in the UI
Ok, have you tried it with the ID of the version, not the name? I think you need to use IDs throughout this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to the list of versions in the project and hover over the link leading to one of the edit/update options
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
They're different objects with different types and IDs.
A version is a version type object, but a sprint is not a version. (I suspect it's a sprint object, rather than an "option" or plain "string", but I've not looked). It doesn't matter that they have the same name, they're separate entities.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.