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

Get updated issue status using script runner

When I am trying to below code
def getModifiedFields = "";
MutableIssue Issue = issue;
getModifiedFields =Issue.getStatus() ("getStatus== " + getModifiedFields)

I want updated status as In Progress instead of To Do


IssueConstantImpl[[GenericEntity:Status][sequence,7][statuscategory,2][name,To Do][iconurl,/][description,][id,10000]]


1 answer

0 votes

Where do you execute the script?

Try to get a reference to the current state of the issue


I am not getting updated status

I am executing on script post function on In Progress Workflow

You post function should be last in the list of post functions.

I am trying to sending data from jira to external system using json script post function

Could you please help me

Thanks Alexey Matveev COMMUNITY CHAMPION,

your answer is really help me :) now I am getting status.

And I am getting OK response on calling web service. 

but  I want to check content 

how to check content?

Could you please help me?



What content do you want to check?

Suggest an answer

Log in or Sign up to answer
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

97 views 0 5
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