**Locking the "Procurement Strategy Type" Field After Value Selection in JWM**

Seenivasan K February 24, 2025

 

 

In my JWM project, I have a dropdown field called Procurement Strategy Type with three options. When a value is selected, Jira Automation automatically creates the corresponding subtasks. However, if an incorrect value is chosen and later corrected, subtasks for both the incorrect and correct selections remain.

Now, I need to lock the field after a value is selected so that it cannot be edited further. Is this possible, or would you recommend an alternative solution that better suits my requirement?

Screenshot 2025-02-25 131117.png

3 answers

0 votes
Pasam Venkateshwarrao
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2025

Hi @Seenivasan K 

Thanks for reaching out to the community

This is describe in the answer from Vera on this post

Unfortunately, Atlassian does not offer field level security.  The only way you can accomplish this natively is:

  1. Remove the fields from your Create/Edit screens
  2. Create a new screen with the desired fields
  3. Add a new status (e.g. Update Fields) to your workflow

This approach will give those with the appropriate role the ability to transition to a new status which will prompt them to fill in your desired custom fields.

Pasam Venkateshwarrao
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2025

@Seenivasan K have you tried this?

0 votes
Stephen_Lugton
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2025

Hi @Seenivasan K 

Jira issues can have 3 screens associated with them; Create, Edit and View:

  • Create Screen: Used to create the work item with a defined set of fields available
  • View Screen: A view that shows the fields associated with a work item
  • Edit Screen: Used to edit / update existing fields

You can use the same screen for all three operations (create, edit and view) or you can have different fields available on each screen.

In your case you could have the Procurement Strategy Type field available only on the Create and View screens (making sure to set it as a mandatory field)

See https://support.atlassian.com/jira-cloud-administration/docs/manage-issue-screens/ for more information on screens

Seenivasan K February 25, 2025

Hi @Stephen_Lugton 
                        

Thank you for your prompt response. The solution you provided does not fully address my requirement. The Procurement Strategy Type field is not available on the create screen because it is generated automatically through automation.

To clarify further, our project structure consists of four levels:

  1. Level 2 Epic
  2. Level 1 Epic
  3. Story
  4. Subtasks

As per our project requirements, when a Level 2 Epic is created, all associated Level 1 Epics, Stories, and Subtasks are generated automatically through automation. The dropdown field in question is located within the Story-level issue. Since the Story-level issues are created automatically, it is not feasible to add this field to the create screen. Additionally, adding this field to the Level 2 Epic screen is not an option, as it belongs to the Story level.

Stephen_Lugton
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2025

Will the Procurement Strategy Type be the same for all the story-level issues under a Level 2 Epic?

Seenivasan K February 25, 2025

No it's for only one story level

Stephen_Lugton
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2025

How about modifying your workflow to add in a transition with a condition  that Procurement Strategy Type is null which brings up a transition screen with Procurement Strategy Type on it (other transitions would also have to have a condition that Procurement Strategy Type is not null)

 

0 votes
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2025

Hi @Seenivasan K ,

Welcome to the community !!

There is no direct way to do this. Workaround is

  1. Make Procurement Strategy Type required/mandatory during the ticket creation and remove the field from Edit screen. This will force users to select field only during the ticket creation and make uneditable after that.
  2. Make use of workflow properties like
    jira.issue.editable  --> To make an issue editable when it's on a particular status
    jira.permission.edit.denied  --> To disable editing when an issue is on a particular status, for all users including admins

More details about workflow properties is in https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/

Seenivasan K February 25, 2025

Hi @Rilwan Ahmed                     

                    Thank you for your prompt response. The solution you provided does not fully address my requirement. The Procurement Strategy Type field is not available on the create screen because it is generated automatically through automation.

To clarify further, our project structure consists of four levels:

  1. Level 2 Epic
  2. Level 1 Epic
  3. Story
  4. Subtasks

As per our project requirements, when a Level 2 Epic is created, all associated Level 1 Epics, Stories, and Subtasks are generated automatically through automation. The dropdown field in question is located within the Story-level issue. Since the Story-level issues are created automatically, it is not feasible to add this field to the create screen. Additionally, adding this field to the Level 2 Epic screen is not an option, as it belongs to the Story level.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events