Jump to content

Help for making a direct link to opening admin ticket for a specific group


garybarr

Recommended Posts

I'm trying to make a Widget that includes a button for opening a ticket to a specific account and department.   I'm using variables I found in the docs, but it only uses one of them.  

This is what I'm using:

https://mydomain.ext/admin/supporttickets.php?action=open&userid=122155&deptid=5

So when they click on this link, it does start a ticket for the userid I've added, but it does not assign it to deptid 5, it just uses the default 1st department.

Is this possible, or am I just messing up a parameter somehow?

 

 

Link to comment
Share on other sites

12 hours ago, garybarr said:

Is this possible, or am I just messing up a parameter somehow?

I don't think supporttickets.php is expecting a deptid value to be passed to it in that way - possibly the dropdown could be manipulated with jQuery, but it's probably easier to choose the department yourself.... unless you wanted to go down the OpenTicket API route and then you could define a department.

you can do what you want to do from the client side, but that doesn't help your situation in the admin area.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated