Bad Request to Behaviour

We have a simple script behaviour (hide customfield) when enter the edit page the field doesn't hide. With debug tools in firefox we see a bad url request (not found 404) in the request we can see /undefined/

 

http://10.XX.XX.XX:8080/browse/undefined/rest/com.onresolve.jira.plugin.Behaviours/1.0/behviours/validators.json?issueId=401217&_=1474301463671

 

Any idea how to solve this?

Thanks!

3 answers

Hi Gabriel, 

Is this for the Behaviours plugin? Because it is kind of obsolete because at some point it was merged to SR plugin starting from v3.0

We have installed 3.1.4v of ScriptRunner (this version contains Behaviour), as a test we have installed a trial version of the latest ScriptRunner and continue with the same error.

Hi, can you explain how builded the (behaviour) request, or any explanation about the "/undefined/" (root), would be too much usefull for us.

Thanks/regards 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 11 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

35 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you