The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set issue security when creating issue from confiform form

ebrahim rezaian
May 23, 2023

Hello 

I have created a confifom form in confluence that create issues in jira. but i want all the created issues with a "security level" of "high". below you can see my code. but it doesn't work and i receive an error.

 

Error :

com.atlassian.sal.api.net.ResponseException: Error communicating with Jira, {"errorMessages":[],"errors":{"security level":"Field 'security level' cannot be set. It is not on the appropriate screen, or unknown."}}

 

My code :

{ "fields": { "project": { "key": "STTS" }, "summary": "[entry.pageTitle.escapeJSON]", "security level": ["high"],               "labels": ["Proceedings"],             "assignee":{"name":"[entry.assignee.escapeJSON]"},              "issuetype": { "name": "Task" } } }

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
May 23, 2023

Hi

There is nothing more to add to what Jira tells you.. there is no such field as "security level"

You need to know the field name in order to set it through the Jira REST API (ConfiForms uses that internally to communicate with your Jira)

Alex

ebrahim rezaian
May 23, 2023

I have found true name of issue security and its called "level"

but i receive same error. could you help me?

Alex Medved _ConfiForms_
Community Champion
May 23, 2023

Then it is not a correct field name...

That must be something like customfield_XXX

Alex

TAGS
AUG Leaders

Atlassian Community Events