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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,044
Community Members
 
Community Events
176
Community Groups

Resubmit issues using transition

Hi,

I would like to change the status of item from 'Info Request to Submit using transition and update the fields below.

The only thing that it does is update the status to Submitted but the rest of the fields are not updated.

 

my code look like this:

jira_connection.transition_issue(jira.Issue, "Resubmit",
fields={
"customfield_10509": comment,
"customfield_11723": {"id":product_component},
"priority": {"id":priority},
"customfield_10137":{"id": severity}
}
)

does transition support updating the fields in this way? or should I use different method.

note that the server doesn't return any error it simply not updating the fields as requested.

 

Thanks.

 

1 answer

0 votes

Why don't you use jira automation here?

First add issue transitioned from and to status. In your case from should be Info Request and to should be Submit

at4.JPG

You need to choose edit issue action and add all the custom fields you want to update. For example I have added issue task type should be updated to task and description field should be updated with some value

at5.JPG

Thank you for your answer however i dot thing i have access to with my user credentials to create automation rules.

Suggest an answer

Log in or Sign up to answer