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

Accepted Answer
0 votes

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 votes

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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,372 views 2 7
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