How do I configure custom script (post function in a workflow)based on certain field values inputted and/or a keyword in the summary of the issue?
For example, if the issue summary has 'site catalyst' in the title, i want to automatically then assign it to a different user.
that worked!!! also one more question...how do i put and/or in the summary? like, catalyst and/or clicktale?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you publish the workflow? If you did, try putting that just before step 5.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you give details - what's in the logs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what do i put in the scrip file? (Path to the script accessible on the server)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
something like:
if (issue.summary.contains("site catalyst")) { issue.setAssigneeId("someuser") }
if you have that as the first post-function it should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what do i put in the scrip file? (Path to the script accessible on the server)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can just paste it in to the script field.
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.