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

Setting the behavior code made the custom field act different way.


Dear @Alexey Matveev _Appfire_

How to stop this from happening as i saved code, when clicking on the customfield the behavior changed it goes on to the pop-up upon click it on the view screen, and I'm confused as I cant edit on the view screen itself as we always do, is there a way to stop it.



1 answer

0 votes

That is how scriprunner works. You can find it in sriptrunner documentation.

I ll try to ask somebody from Adaptivist and let you know. Or you can open a ticket in Adaptivist support .

Sure , can I ask why the behaviour code changes doesn't reflect in chrome, but it does reflect in safari?

I do not have safari. I think you d better ask Adaptivist.

Your question was why the edit screen pops up, when you begin to edit a field on the view screen, right?

Here is what is in the documentation
On the View Issue screen, trying to edit a field with a behaviour will launch the edit issue screen, instead of the normal inline editor.

It did not work like that in older versions, but in that case behaviours did not work at all, if you began to edit a field on the view screen. I guess, even if you somehow turn off the feature, your behaviours will not work on the view screen. I guess, that is how ScriptRunner works.

What do you mean that code changes does not reflect in chrome? Did you try to refresh the page with Ctrl+F5?

Sorry, I was not able to answer your questions because we had here a Java conference and I attended it.

No Problem @Alexey Matveev _Appfire_, I can wait. The code responsible for the text into the custom field works in safari but not in chrome, meaning the text that is editable and updatable on both screens when I use Safari browser. On the other hand it doesn't work at all in chrome as the edit screen in chrome always shows default value does not show updated values.

What is your final script and what is your scriptrunner version?

I think, you should open a ticket in ScriptRunner:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

114 views 1 2
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