Hello Jira Community,
I am currently working with Jira Data Center (Jira DC) and I have a requirement to make certain fields read-only on the issue creation screen. I would appreciate any guidance on how to achieve this.
Details:
While Epic creation
Both the Enabler and Epic category fields as READ ONLY
we need these fields to be as READ ONLY.
Questions:
1. What is the best approach to make fields read-only on the create issue screen in Jira DC?
2. Are there any built-in features or configurations in Jira DC that support this functionality?
3. If plugins or add-ons are required, could you please recommend reliable ones and provide a brief overview of how to configure them for this purpose?
4. Are there any potential drawbacks or limitations to making fields read-only on the create screen that I should be aware of?
Any examples, detailed steps, or best practices would be greatly appreciated.
Thank you in advance for your help!
Best regards,
Insha Nisar
Hi @Insha Nisar
By using Plugin we can achieve this!!
Plugin : Script Runner - https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=datacenter&tab=overview
With the usage of Script Runner Behavior functionality we can set fields as read only in create screen.
Example Script: def field = getFieldById(getFieldChanged())
field.setReadOnly(true)
Hi Insha - Welcome to the Atlassian Community!
What is the purpose of this? A read only field that doesn't allow any value to be entered on a Create screen? Sorry, but that doesn't make any sense to me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm trying to create this right now. For my purpose, it's to create a sort of instruction for the user to go through the issue creation. It could be a hyperlink to a SharePoint document. So my read only field would look like:
"[Please click here for more instructions|https://example.com]"
Would you possibly know how to do this? I created a read only field and associated to a screen where it only applies in the Create issue function. I associated that to the screen scheme and field configurations but it's not showing up.
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.