Hi...I have a very simple behavior on a multi line text field to set its label. I put these couple of lines of code in the server side script of the behavior associated to the field:
def field = getFieldById(getFieldChanged())
field.setLabel("My Custom Label")
And of course I mapped it to the project/all issues types.
The problem I am having is that the behavior is executing when I create a new jira issue and when I edit the issue but not when I view the issue.
Any assistance is greatly appreciated.
Thank you
Unfortunately behaviours do not work on View Issue screens, as mentioned here. You can find workarounds on this topic as well.
Antoine
Hi @Antoine Berry Thank you for your assistance. Yup, I just confirmed that with scriptrunner tech support as well (I was hoping the documentation was not up to date :- )
Thank you for your assistance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On create, the behavior executes:
On edit, the behavior executes:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.