You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi everyone,
I'm using "Hide System or plugin UI element" plugin and I want that the "create branch" in the development tool will be hidden in these conditions:
How to I write it in the "Hide UI element" plugin?
Hi @Zachi Meyer ,
just to be clear - you are using this functionality? Would you please provide us information, why do you want to do such a thing? Your users will be able to create branch from elsewhere, so it seems to me it won't help much just hide it in the issue view.
Hi @Hana Kučerová ,
I'm using the functionality you mentioned.
I want to avoid from developers to put code on JIRA with the custom field "Currently Live in" with the value "Staging".
I want to do this on specific project and not all the projects.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Zachi Meyer ,
thank you. So you don't want developers to be able to commit and push code, when your custom field has specific value? I don't think this is possible. Even if you hide development panel from the issue view, they will still be able to work with the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hana Kučerová ,
I only want to hide the development section with "bug type" and custom field with specific value.
I did it for specific statuses and it worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Zachi Meyer ,
if your custom field has "Select List (single choice)" type, you can try something like this:
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.CustomFieldManager
import com.atlassian.jira.issue.customfields.option.Option
import com.atlassian.jira.issue.fields.CustomField
CustomFieldManager customFieldManager = ComponentAccessor.getCustomFieldManager()
CustomField customField = customFieldManager.getCustomFieldObject("customfield_15044")
Option customFieldOption = issue.getCustomFieldValue(customField) as Option
!(issue.projectObject?.key == "TEST" && issue.issueType?.name == "Bug" && customFieldOption?.getValue() == "Staging")
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.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.