Hello everyone!
I want to update the restriction field (the one with the padlock) using the automation; the values to put it's the same of a custom field.
I tried to use the JSON format, but it seems that the name "issuerestriction" (I find this name invaked the createmeta API) is not correct.
I hope someone can help me :D
@Matteo GabaniniJust sharing how I was able to do it on my side
{
"fields": {
"issuerestriction": {
"projectrole": [
{
"restrictionValue": "<role-id>"
},
{
"restrictionValue": "<other-role-id>"
}
]}
}
}
Hi @Matteo Gabanini,
Welcome to Atlassian Community!
If you by restriction field means the one that sets the security on the issue then you are looking for the field called security level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for you answer!
No, I mean this field:
I want to set a specific role using an automation.
Thanks,
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is the security level field, so the field name you are looking for is Security Level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mikael Sandberg
Not OP, but I am on a team-managed (next-gen) board, and when I try to set the Security Level field in the automation it gives me an error
Unknown fields set during edit, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -Security Level (security)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@ヴァリエンテ フロリアン_Florian Valiente_ I have the same error. I'm sorry to not have update the thread before, I was on holiday and than I forgot this -.-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Matteo GabaniniNo worries!
https://community.atlassian.com/t5/Jira-questions/How-can-i-set-issue-restriction-when-using-Jira-API-to-create-an/qaq-p/2487507 << I am currently trying to set it via the API, I will let you know if I am able to do it via the Automation HTTP Request
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.