I am running my code in AWS Lambda function (consume events from an SQS):
One of the task is to create an issue (Operation-A) and then get it id/key and use them for another operation (Operation-B)
The problem is that if for any reason operation-B failed, the event will come back to the SQS and we will process it from scratch ( Re-Run Operation-A which already executed) and so on.
I tried to generate a UUID for each operation and use it as a custom field in jira during the creation but it fails with an error.
" custom field is not on a screen"
Hi @Gouiaa ,
Welcome to Atlassian community and thank you for your question.
Your are right, the correct way is to generate an UUID and query Jira (through a rest API with Jql) in order to check if the work item exists, and if not, create it
To solve the error you are experiencing you need to add the field in the create screen of corresponding work item.
You need to open The project settings, locate the screen scheme associated to work type you are using and add the field in the screens: create, view.
I hope it helps
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.