Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,028
Community Members
 
Community Events
165
Community Groups

Creating a link to reopen the service request in email notification

I use scriptrunner to send custom notifications when solving a service request in the service desk project. The notification contains images corresponding to the user's satisfaction (from 1 to 5) and a picture of the reopen request.

Screenshot_4.png

I tried to use the link that is located in the corresponding transition button:

{getWorkflowButtons.call ()}

https://jiraurl.ru/secure/WorkflowUIDispatcher.jspa?id=74602&action=191&atl_token=B38Y-ZHP9-M1RN-5RJC_152387e13adf686e91da5d27abcb52abab7601af_lin

But when the user clicks on it, the user goes to the main page of the customer portal service desk.

Please tell me how you can create a link so that a user who only has customer access to the service desk project, when clicking on the reopen request image, everything works correctly?

 

1 answer

0 votes

I am not aware of a URL you can click that will cause the issue to transition automatically from the customer portal.

The customer portal option to transition an issue calls a rest API with a PUT method and some payload.

url: /rest/servicedesk/1/customer/requests/transition
payload: {issueKey: "ISV-2", transitionId: 11, comment: ""}

You could get fancy with using a custom rest api endpoint that accepts a get. But you'll have to make sure your api is smart enough to redirect to login page, then back to the API to trigger the transition then back to the issue.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

34 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you