Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
TAGS
AUG Leaders

Atlassian Community Events