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 votes

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
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

30 views 2 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