Dont show a transition if it is beyond 7 days of resolution date

Hi

I want to disable the option to reopen the issue after resolution if the resolution date in beyond 7 days.

For the same I have used the given below condition on my workflow transition. But the option for reopening the issue has hidden from all the issues irrespective of the date.

Please suggest the reason for the same and how to fix it?

Update parameters of the Value Field Condition for this transition.

Field: Resolved

Condition: <

Value: 7d

Comparison Type: Date without time

1 answer

0 vote

I think your condition says "Block transition if the resolution date is before a week in the future", which will always block everything (unless you have a TARDIS handy)

Try < -7d instead

Thanks but this is also not working.

 

Ignacio Pulgar Community Champion May 16, 2016

Try: > -7d

Mmm, I think I have taken the wrong guess at what "resolution date in beyond 7 days" actually means (as written, it doesn't make sense).  I think Ignacio's answer may be the right one.

Thanks but this is also not working. The transition blocks for all the issues .

Ignacio Pulgar Community Champion May 16, 2016

Then, you might better want to restrict the Reopen transition to users that belong to the Administrators project role instead, and limit who are being given with such a role.

Ok, I've just tried > -7d and that does what I expect - if the issue was resolved in the last 7 days, I can transition it.  If it's older, I can't.

Could you confirm that this is what "resolution date in beyond 7 days" means?  Or is it something else?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

743 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you