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,552,367
Community Members
 
Community Events
184
Community Groups

Block the issue transition based on linked issue status or completion in cloud using script runner

Hi,

jira is running on Cloud.

Script Runner for Jira is used.

Issue is linked, untill the linked issue is close ..the issue from which it is linked must not be able to move to next status.

Code is required, Please help me.

Regards,

Abhishree Nagesh

 

1 answer

1 accepted

3 votes
Answer accepted
Kristian Walker _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.
Jan 29, 2019

Hi Abhishree,

Thank you for your question.

I can confirm that it is not  possible to restrict an issue from being transitioned until its linked issue is closed in Jira Cloud.

The reason for this is that that Atlassian only provide a rest API in Jira Cloud and do not provide a Java API in the cloud like they do in Jira Server.

The rest API in Jira cloud is restricted by Atlassian which means that the API's to provide validation and prevent workfow transitions do not exist in Jira Cloud meaning that  you cannot define Conditions or Validators to restrict this behaviour in the cloud version like you could do in the server version.

You can see more detailed information on the differences between the cloud and server versions inside of our documentation page located here.

If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.

Regards,
Kristian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events