Everytime I try to add a code comment with // or */ .....*/ I got:
Error while parsing additional fields. Not valid JSON.
Anyone knows how to add comments here?
In automation I'm edditing issue fields in advanced mode to add approvers automatically.
Since this must be done with accounID I would like to add a comment with the name of the user to be easier.
{
"update": {
"customfield_10000": [
// AccountID: 123192839018904 -- Username: Diogo
{
"add": { "accountId": "123192839018904"}
}
]
}
}
The approver field is a user picker field. It only accepts user ids and not any other sort of data. What you can do is to add the approver with his/her account id, and then comment on the issue to mention him as well.
I just want to comment my code in automation, no need to make it visible in the ticket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't comment on your code. You can log it in your automation using the "Log" component, but nothing else.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Json is data only input, comments are not possible.
Could you detail the information in the rule description instead?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is quite odd I cannot comment my code.
Is not a pretty solution but definetly an option if nothing else exists.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The json is not a code but input to the end point.
You could also log the details to the audit log using https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Log-action
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.