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

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

2 votes
Answer accepted

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
Community showcase
Posted in Jira

How InVision centralized their tools and scaled their remote team with Atlassian and Slack

Hi Atlassian Community, We recently published a case study that we thought you might be interested in. Learn about how InVision built their fully remote company’s culture using Atlassian and Slack ...

220 views 0 1
Join discussion

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