Hi
I have two transitions called "Expire Quote" and "Record Quote" for a status, I'd like to do a schedule automation like when the issues move from the "Expire Quote" transition the action would be some set of custom fields has to be cleared. If the issue moves from "Record Quote" the field shouldn't be cleared.
I tried with Jira Automation/JWT automation but no luck.
Is there a way to do this with "Script runner"/ the automations?
Thanks,
Prabhu
Hi @Prabakaran Parthiban - To confirm, you're wanting to perform action when it transitions from one of those two statuses? If so, automation doesn't quite work that way. You'd want to instead perform the action on the destination status(es). You'd use the Issue Transitioned trigger and it would look something like this:
If it's possible that both statuses can transition to the same destination statuses, the easiest approach would be to set up separate rules for each.
Hi @Mark Segall Thanks for the suggestion.
I've a question, How does the schedule work here? This should happen automatically at a particular time.
I don't see the Issue Transitioned trigger on the trigger section. How to configure this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting - It looks like you only have DevOps triggers in your automation (there are several more specific to Jira issues). Does your server instance have this automation add on installed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, we don't have Automation for Jira. Is there any other possible way to do with JWT Automation/ Scriptings?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, JWT is not my strength so I'd have to defer to the community. The link I shared above is created by Atlassian and is free. I would strongly recommend it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I installed the "Automation for Jira" app to my test instance, but I couldn't configure it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried with the transition based trigger, but not sure how this works on a schedule. This I done it through project not on the workflow transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This will be specific to your project. If you click on Rule Details, there's a section for project scope where you'll see which project(s) are in scope. So, if only your project is selected, it looks like you're establishing a rule that triggers when the issue transitions from QUOTE DELIVERED to CLOSED with an action of updating the field values for these fields:
If this is your intent, it should work as designed. If not, please provide a bit more context into what you're trying to automate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How does this work on a particular time? For example, I want to clear those fields every Friday night, around 11PM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need to change your trigger to run on a schedule.
Can you please provide more detail on what you're trying to achieve for your overall goal with this automation (e.g. When this occurs, and x conditions are met, I want automation to do this)? This would help give a broader picture so we can help you better.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have two transition for a status Closed, the names are
If an issue moves via Record Quote transition no action is needed.
If an issue moves via Clear Quote I want an action that a set of fields to be cleared after 24hrs.
Please let me know if you have any questions.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok - Automation cannot trigger off a specified transition. So, I would recommend adding a post function to the Clear Quote transition that adds a label, component, or populates a custom field.
Then update your trigger to something like this (I'm using a label called clearQuote for my example):
Status = Closed AND status CHANGED BEFORE -1d AND status CHANGED AFTER -2d AND labels IN (clearQuote)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I Installed the Jira Automation addon to my test instance. But I don't see any other Jira triggers on the transition.
Would you please help me to configure it?
Thanks!
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.
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.