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
4,369,622
Community Members
 
Community Events
168
Community Groups

script for Jira cloud (JMWE)

Hi,

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

Comment

Log in or Sign up to comment