I am re-working a set of workflows in a project and I have some rather complex post functions that I'd like to move from one transition to another.
Is there an easy way (via plugin or other methodology) to just move them to the new transition or am I faced with having to recreate them in the transition I want them in?
Depending on the complexity, you might want to explore the XML route. You can export the workflow to XML, copy the post function using your favorite editor, and then import the modified workflow.
Please make sure you understand the XML structure and test it thoroughly if you are taking this route. I had to do this a few times in the past!
Thanks Jobin... That was actually what I was trying to avoid but might be the way to go. I'll have a look and determine if editing the XML is easier than recreating the post functions.
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jobin Kuruvilla [Adaptavist], an update. This actually ended up being monumentally the easiest way. Looking at the XML next to the actual Jira workflow representation coupled with vi having syntax highlighting and row numbers on (for precise yank and puts) made it easy.
Interestingly enough, were this something I found I had to do often, a simple xmlstarlet script might handle it very nicely.
So - thanks for the suggestion. The XML is actually quite straightforward and the simplest way to go forth in this case (moving subtask creation with lots of fields and arguments post functions from one transition to another).
Took much less time to grok the XML structure of the workflow and edit/import than it would've to recreate all the subtask creates AND avoided the inevitable errors from missing things by doing it manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's good to know. Glad it worked out :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I am not aware of such a plugin. I think you should do it manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dang... I was afraid of that. I had grepped both Google in general and the Atlassian pages (including Marketplace) and didn't find it.
Perhaps this will be a feature request to Atlassian.
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.