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

Custom field does not load using REST Endpoints and Behaviours

Hello.

I have created a REST Endpoint that gets all object types from Insight, using Insight's REST API.

I have also created a Behavior to load a text field consuming the REST Endpoint. I use the script in the initialization section.

The Endpoint works and the text field is loaded when I open the issue screen (to create or edit), however, if I look for another result, the Behavior no longer works.

What can be the problem that does not allow me to search for more results?

I share the log of the REST Endpoint that shows no errors.

 

The first time the field is loaded without problems:

The first time the field is loaded without problems.PNG

When doing another search, no results are found:

When doing another search, no results are found.PNG

The endpoint shows no errors, and returns the matches found, but the field is not loaded with the new value.

The endpoint shows no errors, and returns the matches found, but the field is not loaded with the new value..PNG

Any suggestion? Thank you.

1 answer

Have you tried using your endpoint in Scriptrunner scripted field? Seems like this would be a perfect use case for the Custom Picker option.

Suggest an answer

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

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

860 views 25 28
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