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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes

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

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

302 views 2 15
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