condition script as condition plugin

Hi,

I would like to change the script I did here: https://answers.atlassian.com/questions/149977/read-value-from-customfield 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 atlassian-jira-5.0.6-source.zip. 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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

707 views 6 13
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