Hi Team,
Where to write code to show/hide fields and how to add more roles in Jira Service Management
I have a Jira Service Management ITSM standard plan
Can you suggest me, from which plan we will get access for writing code and to more roles to the existing.
Else, do we need to install any plugin's or applications
Thanks,
Ibrahim
@IbrahimVali Mohammed welcome to the community,
Jira/JSM does not have any native code features. If you need to write code in general you'll have to look towards an app like Scriptrunner.
Code to hide/show field can be achieved by Scriptrunner behaviours but they are still in the early stages of development as a feature.
https://marketplace.atlassian.com/search?query=scriptrunner
Other low-code solutions you have access to are Automation rules which comes with your (and any) plan.
https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/
Roles can be added on your plan but need to be added globally and then assigned in the project where needed.
Thanks for your response!
I am able to Install ScriptRunner, but unable to find behaviors. I tried with another account, same thing is happening.
If you could guide me how to enable it, it would be helpful.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ibrahim,
You don't write code in Jire generally unless you create your own pluign or use a plugin like scriptrunner that allows you to write some code.
But even with a plugin you won't be able to hide a field.
You can only hide fields for certain projects or issues types by using a field configuration screen or by not placing them on the screens at all.
For the roles question: you can create as many roles as you want via the Jira administration. Look for project roles under security. You need to be a global administrator for that.
The roles are available in all Jira projects. You can define permissions for each role in the permission scheme that your projects uses.
hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dirk Ronsmans
Thanks for your response!
I am able to Install Scriptrunner, but unable to find behaviors. I tried with another account, same thing is happening.
If you could guide me how to enable it, it would be helpful.
Thanks.
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.