Conditions on create issue - jira on demand

Hi there,

I need to set Assignee field depending upon the value of another field in the create issue transition. So we have a mandatory field called "Platform" which can have with value "abc" or "xyz". What I want is, while creating an issue if the value of Platform field = "abc" then Assignee = "Assignee_1" else if Platform = "xyz" then Assignee = "Assignee_2". I have JIRA on Demand instance. How can I do that? I do not see conditions available on the create issue transition.



2 answers

0 vote

You can't put conditions on the create issue, because it doesn't make any sense.  A condition works on a data set to work out whether you can perform a transition.  When you are creating an issue, you don't actually have any data to work with.  In other words, the condition would have to magically know what data the user is going to put data in BEFORE it even draws the screen, which simply can't work (until I can get this damnable psychic chip to work)

What you need is a validator - they have access to the data the user is putting in, OR a post-function that can automatically set the data based on what they enter.

However, you can't construct either of those in the Cloud

The closest you can get on Cloud is probably to set up your "Platform" as the internal "Components" field, and then set "component lead" as the automatic assignee...

Thanks Nic for your inputs.

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 yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

26 views 0 4
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