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.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.