Hi all,
I would like to automatically run an effector either periodically or when a field change...both options would be acceptable. For example, if I have an effector for copying over Gantt dates to a jira start/end field, I would like this to be updated at least weekly..if not as soon as a field change. I can definitely run those manually, but would be great if there is such an automated feature.
Thanks
Antonio
Hello Antonio,
David from ALM Works here.
This is something we are very interested in doing but is not yet available. Unfortunately, I do not have a timeline to share and it may still be a ways off.
However, there is an option available that is worth exploring!
In Structure v. 6.0, we added APIs and SPIs for Effectors. So, with some help from another app, such as ScriptRunner, and modifiers, you could create a script that would run your effector on a schedule. We would advise being conservative with the schedule.
Please let me know if this is helpful! We are also available to help answer additional questions at support.almworks.com. We look forward to hearing from you!
Best Regards,
David
Hi David,
Thanks for your quick answer. Definitely the APIs with script runner could be a good temporary fix, I'll go ahead and trying use that!
Thanks
Antonio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Antonio,
Were you successful with setting this up? If yes, could you share how did you do it?
Thanks,
MIchal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the link that Structure Support pointed me to which is very helpful: https://help.tempo.io/structure-dc/latest/run-all-effectors-by-schedule
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I looked through the scriptrunner job example and it seemed a bit daunting. Anyway, I think this also works with just scheduling it as a cron + curl job?
EFFECTORS='{"effectorId":[25,26],"structureId":2788}'
RESULT_CODE=`curl -o /dev/null -w '%{http_code}' -u "$USERNAME:$PASSWORD" "https://$JIRA/secure/StructureEffectorProcess!apply.jspa" -H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' -H 'X-Atlassian-Token: no-check' --data-raw "inline=true&decorator=dialog&execute=true&runParams=${EFFECTORS}"`
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.