Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Scriptrunner post function in workflow transition doesn't show custom field


I created a multiline custom field and associated it with a create/view/edit screen of all issuetypes in my project.

I have a transition in a workflow with a post function triggering a scriptrunner script. The user is set to Initiating User. In that script I do following Unirest API call:

def issue = Unirest.get("/rest/api/latest/issue/${issueKey}?expand=customfield_12549")
        .header('Content-Type', 'application/json')

Assuming the expand keyword is optional.

The variable issue contains a map to the asked issue.  However the concerned costum field is missing in the data.

Strangely enough making the same API call in the Scriptrunner Console gives a data structure containing the wanted custom field.

What makes a possible difference between both calling situations?


0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events