Hello,
I want to 'read only' field fixVersion in Jira.
In edit screen in is working okay, But in view screen it is not read only and users can edit it.
I tried to use this intialiser without success:
def customField = getFieldByName("Fix Version/s")
customField.setAllowInlineEdit(false)
What am I doing wrong?
Thank you,
Daniel
Enable the "fragment locator" (see the link in the fragment maintenance screen) to see where elements can be injected. In this case, this reference may help: https://developer.atlassian.com/server/jira/platform/issue-view-ui-locations/
I found that a weight of 200 will place the websection just before the description and a weight of 201 will put it after.
As far as what you put in that web section, that's up to you. You just have a to build some HTML.
I'd recommend using the groovy xml markup builder.
Then use the various jira java api fetch the information about the current issue that you want to display.
You are entirely in charge of the styling. But you can leverage classes present in the AUI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.