I wasn't trying to be snippy or anything – I just don't push add-ons unless it's really necessary. Off hand I'm not sure of any great ones, that's why I tried to get some more information from you.
Usually I've gotten by using fields, transitions, conditions, and user pickers. An Approver user-picker field, a transition protected by a condition that looks at the Approver field, that marks a Approved field with checkbox options, and finally another transition that indicates the issue was properly approved and can proceed to the next status.
image2016-4-21 9:15:59.png
Another option could be JIRA Service Desk, which has approval functionality. I believe it's in Cloud only at the moment though. https://confluence.atlassian.com/servicedeskcloud/setting-up-approvals-816880004.html
I understand that the only way to implement comlicated logic into workflow is to use Script Runner, which executes Post (or Validation) Groovy Scripts.
Here are some scripts I need to know who to write, to implement my solution:
There are some others, but these are vital. If you help, it would be great!
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you manage to find the answer for your question? If so, then I have an identical problem and I need to do the same as you describe! If there is anyone who can help, please help)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot. We need to use JIRA Software for project with this approval in workflow.
I was thinking about that first one example, but I don't have much time to investigate. Is there any guide how to make such "approve" in workflow, with step by step strict example.
I thought to do it myself, adding two user pickers fields, one to know who should approve, and second to record who already approved. And validator for approval transition will be script function which will compare these two fields. But unfortunatelly, you can develop and test this approach (scripts) only in real workflow, that means you should open all transitions, their settings, validations, post functions. And it takes enormous amount of time to debug it all.
Is there any guide how to do it with real code examples and algorithm how to implement it. I'm sure it must be somewhere, because this problem is very popular.
Thanks a lot again for your effort!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess I'm asking too much =) but:
This approach can't be done by native JIRA functionality. At least you'll need a Script Runner plugin.To set one person as approver for one status, and all statuses connect one by one is not welcome according to requirements of business process.
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.
If you're unfamiliar with the basics, this kb article is available on Atlassian – https://confluence.atlassian.com/jirakb/how-to-create-manager-approval-for-multiple-department-in-workflow-744325603.html
Service Rocket has a nice blog with ideas here but nothing really concrete – http://blog.servicerocket.com/adoption/blog/2014/09/end-email-approvals-with-jira
Honestly I don't have a great resource off-hand. If I find something I'll send it your way. I could continue helping with your workflow, you could pass on details or an example scenario and I could walk you through a bit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I didn't meant that you were snippy. My sentence "I guess I'm asking too much" because I really thinking it is not that easy to do. =)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I usually just use native JIRA functionality. What's the need behind getting a plugin to do it instead?
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.