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 votes

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,299 views 12 19
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