Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add organization on creation based on the value of a field

Stephen Hayden February 20, 2018

Is there an easy way to do this that I'm missing, or does it need to be a groovy script or something?  I take it this isn't as accessible as other options because it's a Service Desk feature?

Service Desk automation is so limited when it comes to editing issues, and don't see a clear way to do it using the automation plugin.

1 answer

1 accepted

1 vote
Answer accepted
Ivan Tovbin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2018

Hi Stephen,

Indeed, you can't do it with standard JSD automation that comes out of the box due to it beeing so limited.

With 'Automation for Jira' plugin however, this can be done with almost no effort at all:

Trigger: Issue Created

Condition: JQL condition

Action: Edit issue

And of course this can also be done with scripting using ScripRunner for example, by creating a scripted listener or post function.

Stephen Hayden February 21, 2018

Thanks, maybe I just need to do some testing to work out the syntax then.  I thought it wasn't supported in the Automation plugin because organizations=Service and Delivery (with and without quotes) didn't work while other fields in the same rule worked fine.

Stephen Hayden March 1, 2018

Perhaps my version is too old.  With this edit action everything but the organization line fires.  Tried a bunch of things, changing case, reduced name of it so it had no spaces, with and without quotes, etc.

assignee=stephen.hayden
organization=SD
description=no really, it's a test
summary=testing123

 

Trying the latest version of lite on my local box and it works as expected (and man, is so much nicer too)

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events