Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to make transition should not be available for certain period of time

Hi,

I have a technical type of question. I have one transition called "Update the Project", and I want to freeze/make not available, for a certain period of time on the issue view, after a certain period (Exp: from 23/12/2021 to 29/12/2021) It should be available on the issue. how to achieve this?

Please help me with this.

Note: Solution should work on Jira Datacenter 

1 comment

You will need to find or write some code to do this.  I'd recommend a look at the scripting apps for Jira as some of them would make it very easy to write a simple "condition" for your workflows, one that says "return false if <now> is outside the time you want to allow the transition, else return true"

Like Kavya Ashok Janiwarad likes this

Hi @Nic Brough _Adaptavist_ 

Thanks for your reply, I got your point, I have ScriptRunner for the Jira.

I can use it.

Can you please give me the condition?, so that I can use it in the workflow Custom script condition.

I am not a coder; it would probably take me longer to do this for you than it would be for you to work it out.

Have a look in https://library.adaptavist.com for something for working with date/time fields, the pseudo-code for the condition that I gave above really is quite simple.

Like Kavya Ashok Janiwarad likes this

Comment

Log in or Sign up to comment
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you