Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Where to write code to show/hide fields and how to add more roles in Jira Service Management

IbrahimVali Mohammed July 13, 2023

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

2 answers

3 votes
Dirk Ronsmans
Community Champion
July 13, 2023

@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.

https://support.atlassian.com/jira-cloud-administration/docs/manage-users-groups-permissions-and-roles-in-jira-cloud/

IbrahimVali Mohammed July 18, 2023

@Dirk Ronsmans 

 

Unable to find Behaviour.PNG

 

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.

2 votes
Charlie Misonne
Community Champion
July 13, 2023

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!

IbrahimVali Mohammed July 17, 2023

@Dirk Ronsmans 

Unable to find Behaviour.PNG
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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events