I am trying to hide "Create Branch" from the development panel of a jira issue ticket for the tickets which are already in Closed Status.
I am using "Hide System or plugin UI element", with the following fields
Hide what: com.atlassian.jira.plugins.jira-development-integration-plugin:devstatus.cta.createbranch
Condition:
jiraHelper.project?.key != "IFEL"
issue.getStatus().getStatusCategory() == "Closed"
But this is getting implemented in all the projects with Done status. Some how the conditional operators also dont work when I use "&&" or "&" between the two conditions.
I would like for it to only work for "IFEL" project and for issues with status "Closed". How do I acheive this.