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

Is it possible to make few fields readonly when an issue is in particular status - In JIRA cloud ver

Is it possible to make few fields readonly when an issue is in particular status - In JIRA cloud version.

 

When I create the issue, all the fileds will be displayed. And till I move to next transition, if I open Edit screen, I should be able to view all fields in edit screen. But when I moved to a particular status, I want few fields to be read-only in the edit screen and noone should be able to edit them.

I am using ScriptRunner for cloud. Unfortunately I dont have behaviours with cloud.

 

Please suggest ASAP.

2 answers

2 accepted

0 votes
Answer accepted

No, plain Jira only has "set a flag for all fields or none" built in, and none of the Cloud apps are currently able to provide anything that can help on Cloud. 

I'm afraid the only way to do this on Cloud is to have "protected" fields in the workflow.  You have to remove the fields you want to protect from the "create" screen, and then in any status where you need them editable, put in a transition back to the same status that includes a screen with them on it. 

This is ok if you have a couple of fields and only want them edited in one or two status, but becomes very messy if there's a lot.  P

0 votes
Answer accepted

Hi Test User,

Thank you for your question.

I can confirm that the ScriptRunner for JIRA Cloud plugin is unable to perform any dynamic validation on issue forms to link or hide fields like the server version can with the Behaviors feature.

Also I can confirm that the plugin cannot dynamically populate field values like it can in the server version can with the Behaviors feature.

The reason we are unable to provide this functionality is due to the restricted functionality and API's which Atlassian provide inside JIRA Cloud, due to the fact that Atlassian only provide a Rest API in Jira Cloud and not the same Java API that the server version contains.

You can see more detailed information on the differences between ScriptRunner for JIRA Cloud and ScriptRunner for JIRA Server inside of the 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
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

872 views 6 24
Read article

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