I need to launch a lfSet("customfield_XXXX",{" "," "}) in the initial script only when user launches specific transitions in flows.
The next code doesn't works for me:
string pantalla=argv["screen"];
if (pantalla == "trans_841")){
lfSet("customfield_20901",{" "," "});
}becasue the transition 841 exists for several flows and are diferents transitions.
Then, my problem is: the same "transition id" has been assigned to diferent transitions in several flows. Then I need to distiguish in which flow is the user when the transition is launched. For example, I need to know the name of the flow or the issuetype (because I've a distinct flow for each issuetype).
How can I do that?