condition script as condition plugin


I would like to change the script I did here: to a plugin( or whatever it's caller in this case), so it's easier to add it as a condition.

What I have:

What I want is this:

So what are the possibilities to do this?

2 answers

1 accepted

0 vote

If you create a workflow condition module then it will be available to be added to the workflow.

Ok, so I want to test this example, but somehow eclipse doesn't import the com.atlassian.jira.issue.IssueImpl. I already tried this and used But this zip doesn't include IssueImpl. As I don't want to download every .zip-file from atlassian-downloads and find out which one includes IssueImpl could someone tell me which one include it?

You should ask a new question, or maybe just implement your condition as a built-in script, like all the built-in scripts do, then it can take parameters and so on.

0 vote

You'd need to write a full-blown plugin/addon to do this, which pretty much means you don't need the script-runner to do it any more!

Ok. But how do I add this plugin to the condition window?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,269 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot