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

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,115 views 4 9
Read article

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