I need a script to hide the "create" button on a project screen.

Marlena Shelton August 22, 2018

When ever we close out and issue (Jira ticket) to External the post transitions create an external ticket which is tracked under the external project. I need to hide the create button on the external project. I don't want people going in to that project and directly opening external tickets that way. Is this possible with a SIL script?

1 answer

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 22, 2018

Hello,

As far as I understand you do not want a user to select a certain project, while creating an issue. If so, then try to do it with the LIve Fields feature.

You could write a code like this:

string[] hiddenProjects = {"Your project name"};
lfRestrictSelectOptions("project", hiddenProjects);

 You can find more info on Live Fields here:

https://confluence.cprime.io/display/JJUPIN/Live+Fields

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events