Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

JMWE - callJira - how to store response?

Hello :)

I want to use JMWE filter - callJira for creating a new Jira Service Desk issue but I need also store response from API which is represented as JSON object with dump filrer. How can I do that and store somewhere response from Jira API with using Build-your-own (scripted) Post-function? Maybe you know better way to do that. Thank you for your time :)

1 answer

1 accepted

1 vote
Answer accepted

Hi @Mateusz ,

why do you need to use callJira to create a JSD request? Can't you just use the Create Issue(s) post-function for that?

@David Fischer _Innovalog_ 

when I use Create Issue(s) post-function I can't set Customer Request type which is necessary for request to being viewable for Customer from Service Desk Portal :(

But you can. You just need to add the Customer Request Type field under the "Set fields of new issue" section:


Like Mateusz likes this

Thank you for that hint David :)

Probably I suggested known problem with no option for update Customer request type field in Set field value post-function and I thought that the same problem appears in Create Issue(s) post-function. This will solve my problem but I am still curious that there is answer to my first question?

Anyway, thank you @David Fischer _Innovalog_  :)

Yeah, on Jira cloud, the Customer Request Type can only be set during the creation of the request, not after. Hence the limitation.

As for your initial question, I'm not sure I understand it. What exactly do you want to store (and where)? The callJira call, in your case, would return a full customer request object, what do you want to do with it? You can store it in a local variable:

{% set newRequest = "/rest/api/2/issue" | callJira(verb=("post"), ...) %}

and then you can access any attribute of that object.

Like Mateusz likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

254 views 2 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you