Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you