CLI can't update Jira fields that are not available on the appropriate screen

I use Jira CLI - runFromCsv, however I can't update Jira fields that are not available on the appropriate screen. It gave the following error:

Client error: 'testField' is not a defined field or is not valid in this context (for instance, not being available on the appropriate screen).

However I can do the update using Jira External System Export GUI. Also I can't bypass some workflow rules using CLI, but I can using the Jira External System Export GUI. Is there any suggestion on how to bypass these Jira rules using CLI or RestApi? 

A use case is to sync any fields changes from other tracking system to Jira. This is needed after we cut over to Jira and during the transition we want to keep both data in other tracking system in sync with Jira.

Thanks 

1 answer

0 vote

These processes are respecting the rules you have set up in the application.

CSV import can bypass them because it's there to create data, not transition or edit it.

If there were a full way for a user to break the rules, it would make no sense in having them.  If you set up your JIRA to prevent me doing X by clicking, then you absolutely need to stop me doing X in a script.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Friday in Off-topic

Friday Fun: Riddle me this

Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did!  So, this week's Friday Fun thread w...

212 views 24 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you