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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

81 views 0 8
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