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,359,942
Community Members
 
Community Events
168
Community Groups

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

Edited

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:

https://productsupport.adaptavist.com/servicedesk/customer/portal/2

Suggest an answer

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

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

179 views 1 6
Read article

Atlassian Community Events