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,298,364
Community Members
 
Community Events
165
Community Groups

Unknown fields set during create using JSON

Hi, i am trying to use this code for setting the "Status" field to 'something' in the Additional fields section..for some strange reason the "Status" field is not recognized..i receive this error message:

'Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -Status (status)'

 

...but the field is clearly visible in my task layout..

 

{
"fields": {
"status": "SOMETHING"
}
}

 

 

What am i doing wrong here?

3 answers

1 accepted

0 votes
Answer accepted

Thanks for your reply Gareth,

my automation rule is based on a task being created on a schedule, as i am applying the Transitioning the new task does not receive this value, but the Epic that is scheduled does, apparently i am doing something wrong here...

Hi Peter,

I'm assuming you are using a Create issue action somewhere in your rule. If this is the case, you can follow it with a Branch rule/related issues component set to "Most recently created issue" which will act on the last issue created in the rule and then use the transition issue action inside that

Hi @Peter Fahlstrom 

The status field is set by transitioning the issue through the workflow which is why you cannot set it directly.

When an issue is created, it will be set to the status linked to the Create transition of the workflow.

You will need to use the Transition issue action in an automation rule to move the issue to the correct status.

I was too fast in my reply, i added a branch rule prior the Transition rule with the definition of 'For All created issues' and that looks to be working..

 

Thanks!

You figured it out just as I hit send on my reply 😄 

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

1,848 views 2 7
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