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

Checklist for JIRA by Okapya Software - Deleting checklist items

Jason Thompson August 30, 2024

Hello Community,

We have installed the Checklist for JIRA by Okapya Software in our Data Center based Jira instance.
We are running Jira Software DC 9.16.x and the Checklist for JIRA by Okapya Software App is version 7.1.1
I have a question regarding the deletion of checklist elements.

We would like to have it so that users can only delete elements they create.
We also use the Checklist Templates feature a lot, when creating issues.
These checklists from a template then seem to behave like Local items, which means that anyone can delete them, or elements they contain.

In the Addon Checklist permissions scheme that is used for the project, under All Permissions > Edit Checklist > Delete Elements, we have no rule set.

Under All Permissions > We have the Project roll Administratoes set.

If we do set a rule in the 'Delete Elements' section, then users can delete elements from the Template checklists, as well as elements they create them selves.

Is there anyway to protect Checklist elements that were created, or belong to a Template, from being deleted?

I have not found anything in the Permissions Scheme,the Template settings, or the fields  configuration scheme.

 

Working with templates (okapya.com)

 

Working with permission schemes (okapya.com)

 

Editing parameters (okapya.com)

Any help or suggestions much appriciated.  Great Addon, thanks.

2 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Maxime Lefebvre _Okapya_
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.
August 30, 2024

Hi Jason,

I am a developer from Checklist for Jira app, I will try to help you with that.

To answer your main question, there is no permission rule condition that targets the user who created a certain checklist item. This would be useful to achieve your goal, but unfortunately we do not store the user information so we are not in a position to implement this at this time. 

As you noticed, items imported from a template becomes local items. By default, those items can then be deleted. If you were using Global Items, those would not be delete-able. Global Items are configured by administrators in the custom field context, and do not come from a template.

If Global Items don't fit your situation, you could also create two different checklists, one that is not editable and is loaded from the template(s), and another one that allows creating local items.

We have in mind to eventually store information about the user who creates items, this way we could then add a permission condition on it. Although I cannot promise anything.

I hope this helps!

Kind regards,
Maxime

Jason Thompson September 2, 2024

Hi Maxime,

thank you very much for your time and your answer.

However, could you please clarify onr point...

You said

"If Global Items don't fit your situation, you could also create two different checklists, one that is not editable and is loaded from the template(s), and another one that allows creating local items."

by 'create two different checklists', did you mean setup two Checklist Custom fields?

one that is locked down by permissions, and one that is not?

Therefore, two checklist Custom fields would appear on the Ticket/issue.

Once again, thank you very much.

Pascal Perreault _Okapya_ September 2, 2024

 Hi @Jason Thompson,

That is exactly what @Maxime Lefebvre _Okapya_ suggested.

By setting up two distinct Checklist custom fields, you can handle both scenarios where:

  • One checklist would use a permission scheme to only allow item creation through importing templates by enabling the Import Template permission but disabling the Edit Checklist permission
  • The other checklist could be completely locked by permissions and populated automatically with scripts or automation.

Depending on how you display checklists in your issues (the Display Mode parameter), you could either find two custom fields in your issues, or both checklists inside the same panel (if you use a Panel display mode).

I hope this answers your question!

Kind regards,

Like Jason Thompson likes this
0 votes
Jason Thompson September 5, 2024

Hi @Maxime Lefebvre _Okapya_ & @Pascal Perreault _Okapya_ 

Thank you both for your time and knowledge.

I will discuss the options with the Checklist users, and I am sure we can come up with a good solution.

Great Addon.

Kind Regards ...

TAGS
AUG Leaders

Atlassian Community Events