Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to edit Issue field using Json ?

Nikhil Bhat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2021

Hi Everyone,

I am new to Jira automation. Just wanted to know if we can update an issue field using Json.

Automation I am trying to bulit is check for tasks in my sprint for some fields if empty and then am trying to actually use the edit Issue block to change the sprint value to something like 'Refinment' in my sprint. 

But am not able to come with any idea if this can be done using Json.

Thanks

Nikhil

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
May 20, 2021

Hello @Nikhil Bhat 

Welcome to the community.

Do I understand correctly that you are trying to use Automation to set the Sprint field in your issues when the Sprint field has no value?

Is the sprint already Created in the board?

Is the sprint already started?

- If so, do you have Parallel Sprints enabled for the board?

If the sprint is not already started, do you have more than one not started sprint in your board at a time?

Do you always want to add it to the same specific sprint (the sprint named "Refinement")?

 

If you are just looking for documentation on how to use JSON for editing fields in general, here are two documentation links:

https://support.atlassian.com/jira-software-cloud/docs/advanced-field-editing-json/

https://support.atlassian.com/jira-software-cloud/docs/advance-your-rules-with-smart-values/

Nikhil Bhat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 24, 2021

Thanks @Trudy Claspill 

The documentation was helpful I was able to implement the json to edit the issues and it worked.

Thank a lot.

Suggest an answer

Log in or Sign up to answer