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,300,370
Community Members
 
Community Events
165
Community Groups

How to define 'Remote Issue Picker' script field value in JSON REST API request?

Edited

Hello,

I have a problem with defining 'Remote Issue Picker' script field value (field created from Scriptrunner) in JSON request for creating issues through REST API. This field can have multiple issues selected as a value. 

Field is working properly in Jira and we can search remote issues and select them as values.

I have tried different definitions mentioned Scriptrunner's documentation, where I found some info about this type of field, but there was a missing REST API section.

The example of JSON request definition I am looking for:
fields: { customfield_12345: ["MSD-5", "MSD-6"] }

____Additional Info____
Jira Type: Jira Server
Scriptrunner version: 6.26.0

1 answer

1 vote

I don't have a ready-to-test remote issue picker field but I would recommend you examine your browser developer tools for what the payload looks like when you create an issue that has such links in the web app.  You should be able to use the same format when creating an issue with the Rest API.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

128 views 6 4
Read article

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