Hello everybody,
Hello community
I am faced with a challenge that was asked of me, which is the following: When faced with an impediment, the development team must add a Flag to the issue. But, when the Flag is added, 5 fields must be filled in, which could be through a pop up after placing the Flag. Can you tell me how I would do this using Scriptrunner or Automation Rules?
Emanuel Lima
Thank you
BR
Unfortunately, the flag action doesn't count as a trigger for automations so you won't be able to bring up a popup by just setting the issue to flagged.
In fact, popups are treated in Jira as screens in the way that @Prachi Bolar showed, so if you want to bring up a data entry popup you'll need to use a screen and using screens is done by transitioning to another status.
From your answer to @David Freitez I'm wondering why you don't want to make a transition since having a simple pair of transitions the first of which goes from 'In Progress' (for example) to 'blocked' with a screen asking for Type of Block, Reason for Block & Date of Block, and the second of which goes back to In Progress when unblocked is a common way of dealing with blocked issues, indeed many people have a separate column on their board for blocked issues. I see you've stated that this doesn't correspond to reality, but adding a flag is just another way of indicating a change in status.
Hi Stephen,
Thank you for your considerations, in reality I don't see any other way to achieve this result other than with transition.
I will evaluate the best way to implement this, within the instructions you gave me here.
Thank you very much,
BR
Emanuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Team,
Welcome to community :)
You can do the following
Automation to flag the issue
Now for the pop screen
- You may create a new screen
Select > Issues.
Click Screens > Add screen.
Add a name and description that describes when this screen should be used.
Click Add.
Now in this screen you must had the 5 fields that are need to be filled
Now add this screen in the transition where they need to be filled, In my case it would be in progress, Publish the workflow
So here when a user transitions the issue to in progress automation will take care of flagging the issue and workflow of popping the fields
Thank You,
Prachi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are several options and it will depend on your current configuration and how you´d like to handle the situation, for instance:
You can have a Workflow Status called Flag, and when you transition from any other status to it, you´ll be requested the 5 fields which would be required in the workflow transition.
Let me know if it works for you or if you have another thing in mind regarding your initial configuration.
Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thank you for your quick reponse,
This way, I will be hostage to a transition to put the flag on the task. Maybe I didn't explain it right.
And in reality, that's not how it happens. What happens in my case is that an impediment is detected when I am faced with a situation that prevents me from continuing with development, and there is no transition. In short, I reach this conclusion after an analysis that makes me place a flag in the task, where I will be required to fill in these fields (Type of Block, Reason for Block, Date of Block).
Therefore, this solution you propose forces me to make a transition, which does not correspond to reality.
Is there another way to do this?
Thanks for answering me.
BR
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.