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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
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