Hello ,
I am trying to automate "creating jira issue" flow .
I don't have admin access and i am using custom field for setting the values through JIRA CLI interface
I have tried with the below command facing the below issue .
java -Dhttp.proxyHost=146.17.64.17 -Dhttp.proxyPort=8080 -Dhttp.proxyUser=srmuthu -Dhttp.proxyPassword=password -jar jira-cli-3.7.0.jar --action createIssue --project "Nike+" --type "bug" --summary "cascade issue" --custom customfield_12044:Normal,customfield_14442:YES,customfield_12040:Running,customfield_12340:Running,customfield_12050:n/a,components-componenets:Chat --server https://nikensl.jira.com/--user muthusr --password password
ERROR :
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: Custom field ID 'components' is invalid.
But i am using correct custom field which i added through the below error before i got the above error
Remote error: com.atlassian.jira.rpc.exception.RemoteValidationException: {components=Component/s is required.} : []
Pleaes help me to solve the issue or let me know is thery any best way to automate jira functionalities .
Thanks ,
Muthu Selvan SR
Thanks all and its working after i changed the custom parameter to system parameter .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bob, I find similar error while trying to issue type with "backlog item" option using script Jira APIs. (using Jira 6.1 version). Note, RAN Number Field is a mandatory field Below is the error Remote error: com.atlassian.jira.rpc.exception.RemoteValidationException: {custo mfield_11383=RAN Number is required.} : [] Syntax OR command used: 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_11538:"'+start_sprint+'",customfield_14790:"'+a360_id+'",customfield_11890:"'+sp+'"' Could you help how to use this as System field? Thanks in advance. - Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are correc Nic , but i want update the field componenets ( Label name is :
Component/s ) as chat . but when i trying to do that using custom field its throwing the above error
Please find the below screen shot which i requited to set componenets as Chat
I treid the components with components-textarea , custom-multi-select but still i am getting the same error , please help to solve the above issue .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like you've got the *system* field "Component/s" set as mandatory, but are trying to access it as a custom field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.