Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hey guys,
I want to create a POST action for a transition I have in a workflow in JSD. What I want to do as an end result is to be able to convert an incident to a service request using that transition (in cases where the type of ticket has not been categorized properly).
So I create a transition and show it on the portal, so far so good. Then I want to see the POST actions for that transition and add a post action which updates the 'issue type' from 'incident' to 'service request', which are both existing in my project issue types.
However, when I add the post action and try to choose the issue type, I am given a short list of options to choose from and 'issue type' is not there. Can I add it to that list? Anyone done that?
It is not that simple to change an issue type, because issue type influences many other things like screens, workflows and etc. You can use ScriptRunner to write a post function, which will change the issue type.
Yeah, @Alexey Matveev I thought so. Hm, okay, I guess an easier way would be to actually close the incident from that transition, and then add a post action to the transition to open another related issue of type Request. It would be cleaner anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it is ok with your requirements, then it is a cleaner solution definately.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's OK, but I am having another challenge - when I go and edit my workflow, I select the transition and then I try to add a post function. I choose to add a post function which creates an issue from a template, but at the page of the association there is no Save button at all? And I cannot add the post function. Is that normal or am I tripping?
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.