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 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 Tuesday 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...

147 views 1 17
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