how can i send the transition of a workflow as a link in an email?
Asked by Giorgi Tsitsvidze:

hi   
i need your help :)

can i send the transition of a workflow in an email with jira automation , or without automation rule?

i think in email will be jira link and if i klick on it, issue will transition from one status to another

if it possible how can i do this ? ... thnx .

Edit \* - i have jira server ...


Answers:
author: Christian Pascher
body: With Jira 9.12 this works:

https://\<jiralink\>/secure/CommentAssignIssue!default.jspa?id=\<issueid\>\&action=\<actionid\>


author: Giorgi Tsitsvidze
body: if someone need solution for this question ...  
first we need copy transition URL - right click mouse on button and - copy link address

this address will be like URL / issue iD / action

https some.jira.com/secure/WorkflowUIDispatcher.jspa?id=174289\&action=151\&tl_tokn=a283400fb7a985dd87773f24b21e05b64dec312a50fe629f4863cff957ca72496d18c6d13df_lin

this url will be same for another issue , different will be only Id

i used Automation for Jira and send email with this content

https some.jira.com/secure/WorkflowUIDispatcher.jspa?id={{issue.id}}\&action=151\&tl_tokn=a283400fb7a985dd87773f24b21e05b64dec312a50fe629f4863cff957ca72496d18c6d13df_lin

good luck :)

comments: author: Giorgi Tsitsvidze
body: action - ID Will be different depending on which status issue is and which status you want to change


author: Makareswar Rout
body: atl_token varies for each issue. Please check.


author: Petr Bartusek
body: Hi [@Giorgi Tsitsvidze](/t5/user/viewprofilepage/user-id/3926599)   
Is this still working or this was removed together with *oldIssueView*?

Thanks for answer in advance.


author: Curt Holley
body: From what i can tell, you are wanting the transition to occur based on clicking a link/button in an email.

But what would the trigger be to send that email? If there is a trigger to send an email to transition an issue, then the better option would be to get the automation to do the transition (as alluded to by [@Alexander Pappert](/t5/user/viewprofilepage/user-id/1139063) ) and send an email advising the transition has occurred.

comments: author: Giorgi Tsitsvidze
body: hello curt ,

thank you for your answer and time .

i have Jira server , not Cloud .

the trigger will be "creation of task" when "When an issue is created" ...


author: Curt Holley
body: So, when issue created you want an email to go to someone advising they should transition that issue?

If that transition is known, then automate that. or modify the workflow so that issues (or that issue type) defaults to the right status.

If certain issues need to be transitioned upon creation, then the current workflow is not optimised.....if the workflow cannot be changed (for some reason) then automate the transition. The whole email is redundant as the automation should do the work/transition. Sending an email for someone to then manually (via an email) do the transition is missing the point of the power of the automation, is it not??


author: Giorgi Tsitsvidze
body: yes curt ... i need to send this email only with one person , and only this person Will be able to start this issue ( change status from backlog to Todo or approved status ... )

when scrum master create epic issue , epic owner must approve this task ...

<br />

i already sending issue URL {{issue.url}} , but if i can send transition link it will be great ...


author: Curt Holley
body: Right! that makes sense [@Giorgi Tsitsvidze](/t5/user/viewprofilepage/user-id/3926599)

glad to see you have it sorted as well. Nice one!


author: Alexander Pappert
body: <https://www.atlassian.com/software/jira/automation-template-library/rules#/labels/all/customLabelId/1453>

<https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/>

![grafik.png](https://community.atlassian.com/t5/image/serverpage/image-id/134332iC41E7D6738CF80EA/image-size/large?v=v2&px=999 "grafik.png")

comments: author: Giorgi Tsitsvidze
body: hello alexander ,  
thank you for your answer   
this is a solution for cloud , i have jira server ...  
edited question ...   

i will try with smart-values .... thank you again for your time ...


author: Alexander Pappert
body: [@Giorgi Tsitsvidze](/t5/user/viewprofilepage/user-id/3926599)

automation is also available on server

as paid or lite version


author: Giorgi Tsitsvidze
body: yes we have already automation for jira app on server, but i don't understand how send in email transition link using app ... :(


author: Alexander Pappert
body: look in my screen from the fist post


author: Giorgi Tsitsvidze
body: alexander thank you for your answer , but i think u dont understood what really i need to do ...

because this information is not interesting for me -  
changelog - "when an issue is transitioned you can see what status the issue transitioned from."

let me explain again ...   
i need to send email with transition link ,   
when recipient click on this link , jira issue change status from 1 status to another (next status) ...

i need to send this email when issue create , and link will be - for change status from backlog to approved or rejected status...  

<br />

i have question - is it executable or not , with jira automation or without this app ...  

best regards  
Giorgi


author: Rolf Lader
body: [@Giorgi Tsitsvidze](/t5/user/viewprofilepage/user-id/3926599)I face the same challenge. Have you ever found a solution?  

Regards, Rolf


author: Klaus Foerschl
body: From time to time i also wish to have this.  
And, yes, even after reading all the comments above, I'm still convinced there are use cases where this makes sense.  
So, we all are desperately waiting for someone providing us with the solution :-)

Klaus


author: Christian Pascher
body: With Jira 9.12 this works:

https://\<jiralink\>/secure/CommentAssignIssue!default.jspa?id=\<issueid\>\&action=\<actionid\>


Tags: jira

transition