Hi Team,
The scenario is the user need to fill a form and if the form is approved by other user(admin) a particular state in the workflow should start.The form need fields like to upload certain documents and approve or reject button. If admin approve the workflow should start else it should abort.
How do i implement this in Jira. Is there any plugin? Need help
Thanks in advance
Hello,
You could create two transitions which would lead from a status, where you want to make the decision on continuing with the workflow or not, to the same status. One transition would be called Approve and another one Reject. You could add a screen with attachements to the transitions. These transitions would be available to the users who can make the decision(out of the box functionality). Then you could use an add-on to autotransition the issue to the required status depending if the issue was approved or rejected. You would need an add-on for it. For example, Power Scripts or Adaptivist Scriptrunner.
If you use Power Scripts then there is a routine called autotranistion which would let you do autotransition. You can find more info here
Script Runner also has fast-track transitions, where you can build the conditions without coding.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thankyou.. am clear with the transition part. Is there any option where I can create a form page with my company logo etc. and link it to jira workflow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can not link a custom form to a workflow transition. But you can create a button near the workflow transitions and use the button. But you would need to update issue fields and transition the issue in your code. Also you would need to paint all issue fields in the form by yourself and it is not a trivial task.
Such buttons are called web-items. You can read more here
https://scriptrunner.adaptavist.com/latest/jira/fragments/WebItem.html#_dialogs_advanced
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1.can a screen lead to two transitions. like i have an initiate transition which has a screen "testscreen" . I have added the "testscreen" to two more transition like "accept" and "reject". so when i click on initiate button "testscreen" pops up which has only initiate button, is there a way where if i click "initiate" the "testscreen" must have accept and reject button as well along with initiate button.
2. Say i add drop-down field in screen. based on the item i choose from drop-down the fields in the screen should change based on my customization.
Thanks in advance!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it would be too much work to do. You should not change Jira UI that much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is possible but you d better use Power Scripts Live Fields or Adaptivist Scriptrunner behaviour otherwise you would need to write javascript code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) No. A transition can be reused, but by definition only has one end-point status and one screen. What you're trying to do there is add pointless complexity for the end user - they have to click to start, then choose which transition to use. It is easier to simply offer both transitions to them immediately on view.
2) The fields on a screen are determined by the screen, which is selected by the issue type for create, edit and view, and by the transition if you go through a screen on a transition.
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.