Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

script for Jira cloud (JMWE)


I need small help that I'm trying to implement a scripted condition on a transition but I couldn't achieve.
When Reporter = Assignee the transition button should not appear for this I need a small script for JIRA CLOUD.

I have tried below script but i'm getting errors

def ca=ComponentAccessor
def gm=ca.getGroupManager()
issue.getReporter() != issue.get("assignee")

can you please check and support me to run this rule

1 comment

Hi @Hari Shankar 

on the Cloud, you don't use Groovy but Atlassian's Jira Expressions language. For your requirement, you can create a Build-your-own Condition with this code:

issue.assignee != issue.reporter


Log in or Sign up to comment