Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,666
Community Members
 
Community Events
165
Community Groups

trying to update customfield type: RemoteJiraIssueReference

Edited

HI Team,

I'm trying to create automation that updates the custom field of type:RemoteJiraIssueReference through Rest API

Uri : https://jira.{bla.bla}com/rest/api/2/issue/ICON-26046
Method : PUT

The JSON I'm using to update is:

{
"fields": {
"customfield_18505": "ENCHG-13405"
}
}
 
{"errorMessages":["Internal server error"],"errors":{}}

 ENCHG-13405 is Remote Issue 

This is how my custom field values look like in the GET issue :


"customfield_18505": "com.onresolve.scriptrunner.canned.jira.fields.editable.remoteissue.RemoteJiraIssueReference@6a8bc8e0",

I can't see what I'm doing wrong here, I tried many options already but can't figure it out. Did anyone have a similar problem and find a solution? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you