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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.