Hello, hope you are all doing well
I am following the example mentioned on this page (https://community.atlassian.com/t5/Jira-questions/Dont-show-a-transition-if-it-is-beyond-7-days-of-resolution-date/qaq-p/297625) to setup a Workflow condition but it's not working for me.
I would like to enable the "Reopen" Transition only for issues that were resolved in the last 7 days. For anything older than that, the Transition should not appear.
This is how I have set up this condition in my workflow:
However, even when the condition is true for an issue, the Transition does not appear for the customer in the Support Portal.
I have validated through a query in Jira that "resolved > -7d" brings all issues that were resolved in the last 7 days.
Any ideas on what I should look at to get this to work?
Many thanks!
Hello @Carla Pasquali
Thank you for reaching out.
The value field condition does not work against relative time as "-7d" when using a date field. We have a suggestion created to allow this possibility:
As an admin, I'd like to set a date comparison condition in the workflow as a JQL search
For now, the only way to "Block" a transition from being made if the date value is not higher than a relative time would be to use the "Date compare validator". These would be the steps:
Additionally, feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.
Let us know if this information helps.
Hi @Petter Gonçalves ,
Thanks, it works now but only if the Transition happens in the Issue View in Jira. If the customer tries to Transition the same issue in the Customer Portal the Transition still goes through.
I'll vote for the suggestion and hopefully it'll get implemented soon!
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to community! I believe on the workflow there's a "All of the following condition or Any of the following conditions" on the transition setup, what option do you have selected "All" or "Any"? because either option will determine the action that's taken by the condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Prince Nyeche ,
Thanks for responding! I only have one condition in this transition in my workflow so I am not sure if that's the case.
Here is a screenshot:
I would assume that since I only have one condition I could pick any "All of the following condition or Any of the following conditions" ? Or is there any different in the above options even if I have just one condition?
Thanks!
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.