auto assign the parent, if sub task condition is true

Hi,

I am working on a background script that  would like to do -

  • auto assign the parent ticket to admin, if the sub task is Open and older than 15 days

Thanks for the help

Praveen

1 answer

0 vote

Ok, not sure what you're asking for here?

I'd look to do that as a service that runs a filter on a regular basis and updates issues that match the filter (I've not played with the automation add-on enough to know if that can do it)

I am using a Groovy Script runner, to do the following :

Parent issue will be allowed to move to Y state, when one of the following condition occurs

(1) (2)(3)(4)(5)conditions

(6) 15days has passed since sub-tasks are opened, - In this case only ADMIN is allowed to move the parent to Y State.

How do I Include/Set this criteria that if Condition (6) is TRUE, Only ADMIN is allowed to move the parent to Y State ?

If there is another forum for scripting, please do lets us know

Thanks again

 

I'm afraid that does not clarify it.

Specifically

"Parent issue will be allowed to move to Y state, when one of the following condition occurs"

A condition is something you do in a workflow.  You can script them, but they do NOT change any data.  You appear to be wanting to make changes so you either need a listener, a service or a psot-function

Please, could you explain again what you are trying to do - change data, or stop a user performing a transition?  One or the other.  (Ideally, do NOT use the word "condition" anywhere)

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

63 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot