Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,415
Community Members
 
Community Events
185
Community Groups

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 23, 2021

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 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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 24, 2021

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 Janiwarad likes this

Comment

Log in or Sign up to comment