It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I can put an internal comment jsdPublic

Estoy probando de poner con una PostFunction en un WorkFlow de ServiceDesk, un comentario interno. Logro poner el comentario en donde tocaría ponerlo, pero quiero que ese comentario sea interno para que el cliente de ServiceDesk no lo pueda ver.

La forma sería cambiando el jsdPublic a false, pero no me deja, en teoría tendría que usar la última posición de jsdPublic[x-1] pero al poner los corchetes me da error. 

Cómo puedo poner la última posición para que me cambie el valor? 

def commentResp = post("/rest/api/2/issue/" + issueKey +"/comment")
        .header('Content-Type', 'application/json')
                   jsdPublic: false


I'm trying to put an internal comment with a PostFunction in a ServiceDesk WorkFlow. I can do a comment where I would like to put it, but I want that this comment becomes internal,  so that the ServiceDesk client can not see it.

The form would be changing the jsdPublic to false, but it does not leave me, in theory I would have to use the last position of jsdPublic [x-1] but when I put the brackets it gives me an error.

How can I put the last position so that I change the value?

Because in the API REST I couldn't see.

1 answer

1 accepted

1 vote
Answer accepted

Finally I saw that ServiceDesk have their API REST.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 09, 2019 in Portfolio for Jira

Portfolio for Jira 3.0 is here!

The wait is over... Portfolio for Jira Server and Data Center 3.0 is now officially here! Platform releases offer Atlassian an opportunity to shift our strategy, make bold predictions about t...

1,339 views 14 25
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you