Jira is not updating issue Label after Issue is creating using SOAP API version 4.2.1

Jaysingh2022 September 22, 2022

Here is sample code that I am using to create and update issue

RemoteIssue newIssue = jss.createIssue(authToken, issue);
RemoteFieldValue [] remoteFieldValues=new RemoteFieldValue[] {new RemoteFieldValue("customfield_10223",new String[] {"My Custom Labels"}),
new RemoteFieldValue("labels",new String[] {"My Custom Label"})};
RemoteIssue updateRemoteIssue=jss.updateIssue(authToken, newIssue.getKey(),remoteFieldValues);

No exception but  not updating labels

Soap API version 4.2.1

 

1 answer

0 votes
Nic Brough -Adaptavist-
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.
September 22, 2022

Welcome to the Atlassian Community!

Jira junked SOAP interfaces over a decade ago, and you really should be using Jira 8.x+ if you want any form of security.

Could you tell us all the versions of the software you are using here?   (it is unlikely you will get a good answer if it is past its sell-by date, but it cannot hurt to ask)

Jaysingh2022 September 23, 2022

JDK version 1.8

Suggest an answer

Log in or Sign up to answer