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

This widget could not be displayed.

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...

This widget could not be displayed.

Thanks Nic for your inputs.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday 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...

83 views 0 1
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